diff -urN /usr/ports/textproc/sowing/Makefile textproc/sowing/Makefile --- /usr/ports/textproc/sowing/Makefile 2014-06-25 19:11:07.000000000 +0900 +++ textproc/sowing/Makefile 2014-08-18 07:04:43.000000000 +0900 @@ -13,15 +13,20 @@ 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 @@ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} testing) .endif -NO_STAGE= yes .include diff -urN /usr/ports/textproc/sowing/pkg-descr textproc/sowing/pkg-descr --- /usr/ports/textproc/sowing/pkg-descr 2014-06-21 17:40:16.000000000 +0900 +++ textproc/sowing/pkg-descr 2014-08-18 06:48:16.000000000 +0900 @@ -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 -urN /usr/ports/textproc/sowing/pkg-plist textproc/sowing/pkg-plist --- /usr/ports/textproc/sowing/pkg-plist 2014-06-21 17:40:16.000000000 +0900 +++ textproc/sowing/pkg-plist 2014-08-18 06:50:05.000000000 +0900 @@ -6,6 +6,9 @@ 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