diff options
author | vs <vs@FreeBSD.org> | 2005-04-26 20:14:17 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-26 20:14:17 +0800 |
commit | 4c6ded313944210eaf2035bf757aba4b8ffc8f65 (patch) | |
tree | 2b53e16d4b83408a776fd92a0107bc941d4a0071 /textproc | |
parent | b34050a02a00030431309b297861386470a02169 (diff) | |
download | freebsd-ports-gnome-4c6ded313944210eaf2035bf757aba4b8ffc8f65.tar.gz freebsd-ports-gnome-4c6ded313944210eaf2035bf757aba4b8ffc8f65.tar.zst freebsd-ports-gnome-4c6ded313944210eaf2035bf757aba4b8ffc8f65.zip |
Use MAKE_ARGS & SUB_FILES=pkg-message
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gmat/Makefile | 5 | ||||
-rw-r--r-- | textproc/gmat/files/patch-aa | 26 | ||||
-rw-r--r-- | textproc/gmat/files/pkg-message.in | 4 |
3 files changed, 4 insertions, 31 deletions
diff --git a/textproc/gmat/Makefile b/textproc/gmat/Makefile index 06878daa3d19..a0673beb0a0f 100644 --- a/textproc/gmat/Makefile +++ b/textproc/gmat/Makefile @@ -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> diff --git a/textproc/gmat/files/patch-aa b/textproc/gmat/files/patch-aa deleted file mode 100644 index 070a73442de6..000000000000 --- a/textproc/gmat/files/patch-aa +++ /dev/null @@ -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 - # diff --git a/textproc/gmat/files/pkg-message.in b/textproc/gmat/files/pkg-message.in index 01cbb23048f3..a93a80846d24 100644 --- a/textproc/gmat/files/pkg-message.in +++ b/textproc/gmat/files/pkg-message.in @@ -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. =============================================================================== |