aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-08-23 02:06:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-08-23 02:06:48 +0800
commit598072f6a459ec8429d768773218f17f0f9886fa (patch)
treef2fb06e6b50c77d0bdac29919482489c132862e6 /textproc
parent3ca7940f243202914f2db62d7d93ced1e7fa3f2e (diff)
downloadfreebsd-ports-gnome-598072f6a459ec8429d768773218f17f0f9886fa.tar.gz
freebsd-ports-gnome-598072f6a459ec8429d768773218f17f0f9886fa.tar.zst
freebsd-ports-gnome-598072f6a459ec8429d768773218f17f0f9886fa.zip
- Stagify
- Update WWW PR: 192810 Submitted by: tkato432@yahoo.com
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sowing/Makefile12
-rw-r--r--textproc/sowing/pkg-descr2
-rw-r--r--textproc/sowing/pkg-plist3
3 files changed, 12 insertions, 5 deletions
diff --git a/textproc/sowing/Makefile b/textproc/sowing/Makefile
index 863008b845a1..f68f6b9e6560 100644
--- a/textproc/sowing/Makefile
+++ b/textproc/sowing/Makefile
@@ -13,15 +13,20 @@ COMMENT= Text processing tools to generate documentation from source files
BUILD_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
-USES= perl5 gmake
+USES= gmake perl5
USE_GHOSTSCRIPT=yes
USE_TEX= latex dvipsk
GNU_CONFIGURE= yes
-CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ARGS= --datadir=${DATADIR}
ALL_TARGET= all-redirect
-MAN1= bfort.1 doctext.1 tohtml.1
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|\([[:blank:]]\)\($$(exec_prefix)\)|\1$$(DESTDIR)\2| ; \
+ s|\([[:blank:]]\)\($$(bindir)\)|\1$$(DESTDIR)\2| ; \
+ s|\([[:blank:]]\)\($$(datadir)\)|\1$$(DESTDIR)\2| ; \
+ s|\([[:blank:]]\)\($$(man1dir)\)|\1$$(DESTDIR)\2|' \
+ ${WRKSRC}/Makefile.in
.if defined(MAINTAINER_MODE)
regression-test: install
@@ -29,5 +34,4 @@ regression-test: install
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} testing)
.endif
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/textproc/sowing/pkg-descr b/textproc/sowing/pkg-descr
index cf3aeb5b8423..74e380e84750 100644
--- a/textproc/sowing/pkg-descr
+++ b/textproc/sowing/pkg-descr
@@ -1,4 +1,4 @@
Text processing tools developed by Bill Gropp.
It might be used to build the PETSc & MPICH documentation.
-WWW: http://www.mcs.anl.gov/petsc/petsc-2/developers/
+WWW: http://web.engr.illinois.edu/~wgropp/projects/software/sowing/
diff --git a/textproc/sowing/pkg-plist b/textproc/sowing/pkg-plist
index 061dfa333029..fa0f3153271c 100644
--- a/textproc/sowing/pkg-plist
+++ b/textproc/sowing/pkg-plist
@@ -6,6 +6,9 @@ bin/mapnames
bin/pstogif
bin/pstoxbm
bin/tohtml
+man/man1/bfort.1.gz
+man/man1/doctext.1.gz
+man/man1/tohtml.1.gz
%%DATADIR%%/basedefs.txt
%%DATADIR%%/blueball.gif
%%DATADIR%%/doctext/html.def