Use MAKE_ARGS & SUB_FILES=pkg-message
This commit is contained in:
parent
140f6c6969
commit
572136e325
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134194
@ -25,7 +25,8 @@ USE_REINPLACE= yes
|
||||
REINPLACE_ARGS= -i ""
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-0.2.4
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
MAKE_ARGS= CC="${CC}" PRODROOT="${DATADIR}" SOELIMPATHNAME="/usr/bin/soelim"
|
||||
SUB_FILES= pkg-message
|
||||
PORTDOCS= README gmat.sgm
|
||||
|
||||
DTDVER?= 4.2 # docbook-xml version
|
||||
@ -59,8 +60,6 @@ post-install:
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
@${SED} -e "s|/usr/local|${PREFIX}|" < ${FILESDIR}/pkg-message.in \
|
||||
> ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,26 +0,0 @@
|
||||
--- Makefile.orig Thu Sep 7 08:59:25 2000
|
||||
+++ Makefile Tue Dec 7 22:28:02 2004
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
# set CC to the name of your C compiler. GCC may be required...
|
||||
#
|
||||
-CC = gcc
|
||||
+#CC = gcc
|
||||
|
||||
# Set PRODROOT to the directory that you want to use as the root of the
|
||||
# gmat tools tree. Locally, we use "/usr/local/prod".
|
||||
#
|
||||
-PRODROOT = /usr/local/prod
|
||||
+PRODROOT = /usr/local/share/gmat
|
||||
|
||||
# Set BINDIR to the location where you keep non-standard binaries.
|
||||
# This is where gmat looks for nsgmls, crlf, and gzcat (or zcat)
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
# Set SOELIMPATHNAME to the path to gsoelim (or soelim) on your system
|
||||
#
|
||||
-SOELIMPATHNAME = /usr/bin/gsoelim
|
||||
+SOELIMPATHNAME = /usr/bin/soelim
|
||||
|
||||
# NOTE!! CHECK macros/tmac.G for some more local variables
|
||||
#
|
@ -1,8 +1,8 @@
|
||||
===============================================================================
|
||||
To use the programs in this package, add the path
|
||||
/usr/local/share/gmat/bin to your PATH environment variable.
|
||||
%%DATADIR%%/bin to your PATH environment variable.
|
||||
|
||||
Then, type
|
||||
gmat --job /usr/local/share/gmat/test/BOOKFILES /usr/local/share/doc/gmat/gmat.sgm
|
||||
gmat --job %%DATADIR%%/test/BOOKFILES %%DOCSDIR%%/gmat.sgm
|
||||
to format the documentation.
|
||||
===============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user