diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-24 21:18:58 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-24 21:18:58 +0800 |
commit | d3cf1e051d038facaf55e12d07796368b5643b82 (patch) | |
tree | 4de9180f6f6499005a02366f0ff85bee0b3bb2c9 /converters | |
parent | c6aa16c65c86f956da8c6e4485c11255518a80f7 (diff) | |
download | freebsd-ports-gnome-d3cf1e051d038facaf55e12d07796368b5643b82.tar.gz freebsd-ports-gnome-d3cf1e051d038facaf55e12d07796368b5643b82.tar.zst freebsd-ports-gnome-d3cf1e051d038facaf55e12d07796368b5643b82.zip |
- Add staging support
- Remove leading article from COMMENT
- Define DOCS option
Diffstat (limited to 'converters')
-rw-r--r-- | converters/uudeview/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/converters/uudeview/Makefile b/converters/uudeview/Makefile index 22d7a2ab3e8d..51ba15bb9ed2 100644 --- a/converters/uudeview/Makefile +++ b/converters/uudeview/Makefile @@ -7,7 +7,7 @@ CATEGORIES= converters MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/ MAINTAINER= ports@FreeBSD.org -COMMENT= A program for uu/xx/Base64/BinHex/yEnc de-/encoding +COMMENT= Program for uu/xx/Base64/BinHex/yEnc de-/encoding LICENSE= GPLv2 @@ -18,11 +18,12 @@ CONFIGURE_ARGS= --disable-tcl LDFLAGS+= -L${LOCALBASE}/lib -MAN1= uudeview.1 uuenview.1 PORTDOCS= HISTORY porting.notes -PLIST_FILES= bin/uudeview bin/uuenview +PLIST_FILES= bin/uudeview bin/uuenview man/man1/uudeview.1.gz \ + man/man1/uuenview.1.gz + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.pre.mk> # Try and catch some of the different places that inn and cnews put inews @@ -34,14 +35,15 @@ CONFIGURE_ARGS+= --enable-inews=${PREFIX}/bin/inews CONFIGURE_ARGS+= --enable-inews=${PREFIX}/news/lib/inews .endif +post-configure: + @${REINPLACE_CMD} -E '/INSTALL_/ s,(BIN|MAN)DIR,DESTDIR\)$$\(&,g' \ + ${WRKSRC}/Makefile + post-install: - @${STRIP_CMD} ${PREFIX}/bin/uudeview - @${STRIP_CMD} ${PREFIX}/bin/uuenview -.if ${PORT_OPTIONS:MDOCS} - @${ECHO_MSG} "===> Installing documents to ${DOCSDIR}" - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/HISTORY ${DOCSDIR} - @${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR} -.endif + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uudeview + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuenview + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/HISTORY ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> |