mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
GNU Makefile configure system used by cdoc, c2lib, etc.
This commit is contained in:
parent
7e48bb0d98
commit
93f3d914eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72015
9 changed files with 150 additions and 0 deletions
|
@ -354,6 +354,7 @@
|
|||
SUBDIR += m68k-rtems-objc
|
||||
SUBDIR += make++
|
||||
SUBDIR += makedepend
|
||||
SUBDIR += makeplus
|
||||
SUBDIR += memcheck
|
||||
SUBDIR += mico
|
||||
SUBDIR += mime
|
||||
|
|
34
devel/makeplus/Makefile
Normal file
34
devel/makeplus/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# ex:ts=8 -*-mode: makefile-*-
|
||||
#
|
||||
# New ports collection makefile for: makeplus
|
||||
# Date created: 2002-12-22
|
||||
# Whom: Alan Eldridge <alane@geeksrus.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= makeplus
|
||||
PORTVERSION= 0.0.15
|
||||
PORTREVISION= 0
|
||||
PORTEPOCH= 0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.annexia.org/freeware/${PORTNAME}/
|
||||
|
||||
USE_GMAKE= yes
|
||||
PREFIX?= ${LOCALBASE}
|
||||
MAKE_ENV+= MAKEPLUS_HOME=${WRKSRC}
|
||||
NO_MTREE= yes
|
||||
|
||||
MAINTAINER= alane@FreeBSD.org
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./make+
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./make+ install prefix=${PREFIX}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
#EOF
|
1
devel/makeplus/distinfo
Normal file
1
devel/makeplus/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (makeplus-0.0.15.tar.gz) = bf8c8645627a1ea4c44ebf0ceca06c3e
|
17
devel/makeplus/files/patch-c.mk
Normal file
17
devel/makeplus/files/patch-c.mk
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- c.mk.orig Mon Dec 9 14:32:33 2002
|
||||
+++ c.mk Fri Dec 27 05:10:26 2002
|
||||
@@ -13,9 +13,11 @@
|
||||
# install make+ separately.
|
||||
|
||||
# General C compilation variables.
|
||||
-CC = gcc
|
||||
-CFLAGS = -I. -I..
|
||||
-LIBS =
|
||||
+CC ?= gcc
|
||||
+CFLAGS += -I. -I..
|
||||
+LIBS +=
|
||||
+SETENV ?= /usr/bin/env
|
||||
+CONF_ENV = CC="$(CC)" CFLAGS="$(CFLAGS)"
|
||||
|
||||
# Link scripts.
|
||||
MP_LINK_STATIC = $(MAKEPLUS_HOME)/link_static.sh
|
22
devel/makeplus/files/patch-configure.mk
Normal file
22
devel/makeplus/files/patch-configure.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- configure.mk.orig Mon Dec 9 14:41:01 2002
|
||||
+++ configure.mk Fri Dec 27 05:09:39 2002
|
||||
@@ -13,8 +13,13 @@
|
||||
# install make+ separately.
|
||||
|
||||
# Configuration scripts.
|
||||
-MP_CONFIGURE_START = $(MAKEPLUS_HOME)/configure_start.sh > config.h
|
||||
-MP_CONFIGURE_END = $(MAKEPLUS_HOME)/configure_end.sh >> config.h
|
||||
-MP_CHECK_HEADERS = $(MAKEPLUS_HOME)/check_headers.sh >> config.h
|
||||
-MP_CHECK_FUNCS = $(MAKEPLUS_HOME)/check_funcs.sh >> config.h
|
||||
-MP_CHECK_LIB = $(MAKEPLUS_HOME)/check_lib.sh >> config.h
|
||||
\ No newline at end of file
|
||||
+MP_CONFIGURE_START = $(SETENV) $(CONF_ENV) \
|
||||
+ $(MAKEPLUS_HOME)/configure_start.sh > config.h
|
||||
+MP_CONFIGURE_END = $(SETENV) $(CONF_ENV) \
|
||||
+ $(MAKEPLUS_HOME)/configure_end.sh >> config.h
|
||||
+MP_CHECK_HEADERS = $(SETENV) $(CONF_ENV) \
|
||||
+ $(MAKEPLUS_HOME)/check_headers.sh >> config.h
|
||||
+MP_CHECK_FUNCS = $(SETENV) $(CONF_ENV) \
|
||||
+ $(MAKEPLUS_HOME)/check_funcs.sh >> config.h
|
||||
+MP_CHECK_LIB = $(SETENV) $(CONF_ENV) \
|
||||
+ $(MAKEPLUS_HOME)/check_lib.sh >> config.h
|
42
devel/makeplus/files/patch-main.mk
Normal file
42
devel/makeplus/files/patch-main.mk
Normal file
|
@ -0,0 +1,42 @@
|
|||
--- main.mk.orig Mon Dec 16 15:26:30 2002
|
||||
+++ main.mk Fri Dec 27 01:21:12 2002
|
||||
@@ -33,19 +33,21 @@
|
||||
infodir = $(prefix)/info
|
||||
includedir = $(prefix)/include
|
||||
pkgdatadir = $(datadir)/$(PACKAGE)
|
||||
+pkgetcdir = $(sysconfdir)/$(PACKAGE)
|
||||
pkglibdir = $(libdir)/$(PACKAGE)
|
||||
pkgincludedir = $(includedir)/$(PACKAGE)
|
||||
-mandir = $(datadir)/man
|
||||
-man1dir = $(datadir)/man/man1
|
||||
-man2dir = $(datadir)/man/man2
|
||||
-man3dir = $(datadir)/man/man3
|
||||
-man4dir = $(datadir)/man/man4
|
||||
-man5dir = $(datadir)/man/man5
|
||||
-man6dir = $(datadir)/man/man6
|
||||
-man7dir = $(datadir)/man/man7
|
||||
-man8dir = $(datadir)/man/man8
|
||||
-manndir = $(datadir)/man/mann
|
||||
-manldir = $(datadir)/man/manl
|
||||
+manprefix ?=$(datadir)
|
||||
+mandir = $(manprefix)/man
|
||||
+man1dir = $(mandir)/man1
|
||||
+man2dir = $(mandir)/man2
|
||||
+man3dir = $(mandir)/man3
|
||||
+man4dir = $(mandir)/man4
|
||||
+man5dir = $(mandir)/man5
|
||||
+man6dir = $(mandir)/man6
|
||||
+man7dir = $(mandir)/man7
|
||||
+man8dir = $(mandir)/man8
|
||||
+manndir = $(mandir)/mann
|
||||
+manldir = $(mandir)/manl
|
||||
|
||||
# Include the other parts of this makefile.
|
||||
include $(MAKEPLUS_HOME)/configure.mk
|
||||
@@ -72,4 +74,4 @@
|
||||
.EXPORT_ALL_VARIABLES:
|
||||
|
||||
# Phony targets.
|
||||
-.PHONY: clean distclean
|
||||
\ No newline at end of file
|
||||
+.PHONY: clean distclean
|
1
devel/makeplus/pkg-comment
Normal file
1
devel/makeplus/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A set of GNU Make rules for building the other packages from this author
|
7
devel/makeplus/pkg-descr
Normal file
7
devel/makeplus/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
Make+ is a set of GNU Make rules for building the other packages from this
|
||||
author.
|
||||
|
||||
WWW: http://www.annexia.org/freeware/
|
||||
|
||||
-- AlanE
|
||||
|
25
devel/makeplus/pkg-plist
Normal file
25
devel/makeplus/pkg-plist
Normal file
|
@ -0,0 +1,25 @@
|
|||
bin/make+
|
||||
bin/make+-skeleton
|
||||
etc/make+.conf
|
||||
share/makeplus/c.mk
|
||||
share/makeplus/check_funcs.sh
|
||||
share/makeplus/check_headers.sh
|
||||
share/makeplus/check_lib.sh
|
||||
share/makeplus/configure.mk
|
||||
share/makeplus/configure_end.sh
|
||||
share/makeplus/configure_start.sh
|
||||
share/makeplus/default_goal.mk
|
||||
share/makeplus/dist.mk
|
||||
share/makeplus/install_dynamic_lib.sh
|
||||
share/makeplus/install_static_lib.sh
|
||||
share/makeplus/link_dynamic.sh
|
||||
share/makeplus/link_static.sh
|
||||
share/makeplus/main.mk
|
||||
share/makeplus/make+
|
||||
share/makeplus/make_rpm_spec.sh
|
||||
share/makeplus/make_website.sh
|
||||
share/makeplus/rpm.mk
|
||||
share/makeplus/run_tests.sh
|
||||
share/makeplus/test.mk
|
||||
share/makeplus/website.mk
|
||||
@dirrm share/makeplus
|
Loading…
Add table
Reference in a new issue