diff options
author | Cy Schubert <cy@FreeBSD.org> | 2014-05-30 05:56:15 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2014-05-30 05:56:15 +0000 |
commit | 7ea116081bc1f8d013244679afefc2279a5124a0 (patch) | |
tree | 2a865287ffbfc2ba22095475bbfc1c79a8c8aa55 /misc/gman | |
parent | e5b37ac53a7211160bd83efc68e7d7c3d90298ee (diff) | |
download | ports-7ea116081bc1f8d013244679afefc2279a5124a0.tar.gz ports-7ea116081bc1f8d013244679afefc2279a5124a0.zip |
Stagify.
Notes
Notes:
svn path=/head/; revision=355791
Diffstat (limited to 'misc/gman')
-rw-r--r-- | misc/gman/Makefile | 23 | ||||
-rw-r--r-- | misc/gman/pkg-plist | 1 |
2 files changed, 14 insertions, 10 deletions
diff --git a/misc/gman/Makefile b/misc/gman/Makefile index 969e7159d9d4..1d45de5fee2b 100644 --- a/misc/gman/Makefile +++ b/misc/gman/Makefile @@ -17,7 +17,7 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= cy@FreeBSD.org COMMENT= A user-friendly graphical front end for the man system -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview \ man2html:${PORTSDIR}/textproc/man2html @@ -26,11 +26,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= gettext gmake USE_GNOME= gtk12 -MAN1= gman.1x - CXXFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes +.include <bsd.port.pre.mk> +SHEBANG_LANG+= perlw +perlw_OLD_CMD= /usr/bin/perl -w +perlw_CMD= ${LOCALBASE}/bin/perl -w +SHEBANG_FILES= *.pl + post-patch: @${REINPLACE_CMD} -e 's,^CXX =,#CXX =,g' \ -e 's,^CXXFLAGS =,CXXFLAGS+=,g' \ @@ -40,10 +43,10 @@ post-patch: -e 's,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi - @${MKDIR} ${PREFIX}/www/cgi-bin - ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin - ${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/gman ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${STAGEDIR}${PREFIX}/bin/gman.cgi + @${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin + ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${STAGEDIR}${PREFIX}/www/cgi-bin + ${INSTALL_MAN} ${WRKSRC}/gman.1x ${STAGEDIR}${MANPREFIX}/man/man1 @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/misc/gman/pkg-plist b/misc/gman/pkg-plist index 6dabe70a5c14..15dbb1cd4308 100644 --- a/misc/gman/pkg-plist +++ b/misc/gman/pkg-plist @@ -1,4 +1,5 @@ bin/gman bin/gman.cgi +man/man1/gman.1x.gz www/cgi-bin/gman.pl @dirrmtry www/cgi-bin |