diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-09 22:40:14 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-09 22:40:14 +0800 |
commit | d31a11de65c2450a375b17b7f8d8eb6fa6b7ca5a (patch) | |
tree | 9100653c389a3bab276261faf0e5eba21033d83a /converters | |
parent | fc3560249f159dc5e4b9ff9c410cf16a3baf0fac (diff) | |
download | freebsd-ports-gnome-d31a11de65c2450a375b17b7f8d8eb6fa6b7ca5a.tar.gz freebsd-ports-gnome-d31a11de65c2450a375b17b7f8d8eb6fa6b7ca5a.tar.zst freebsd-ports-gnome-d31a11de65c2450a375b17b7f8d8eb6fa6b7ca5a.zip |
Support stage
Diffstat (limited to 'converters')
-rw-r--r-- | converters/uulib/Makefile | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile index f3f5c3e65d25..ca09df610971 100644 --- a/converters/uulib/Makefile +++ b/converters/uulib/Makefile @@ -9,19 +9,18 @@ MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/ DISTNAME= uudeview-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A library for uu/xx/Base64/BinHex/yEnc de-/encoding +COMMENT= Library for uu/xx/Base64/BinHex/yEnc de-/encoding LICENSE= GPLv2 # (or later) -LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes ALL_TARGET= libuu.a libuu.so.${SHLIB_VER} USE_LDCONFIG= yes -MAN3= uulib.3 PORTDOCS= * PLIST_FILES= include/uudeview.h lib/libuu.a lib/libuu.so \ - lib/libuu.so.${SHLIB_VER} + lib/libuu.so.${SHLIB_VER} \ + man/man3/uulib.3.gz SHLIB_VER= 3 @@ -29,28 +28,20 @@ DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \ doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \ doc/td-v3.c doc/test.txt -NO_STAGE= yes - -.include <bsd.port.options.mk> - post-patch: @${SED} -e 's,FUNKYTOKENHERE,${PREFIX}/,' \ < ${FILESDIR}/uulib.3 > ${WRKDIR}/uulib.3 do-install: - ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.${SHLIB_VER} ${PREFIX}/lib - ${LN} -sf libuu.so.${SHLIB_VER} ${PREFIX}/lib/libuu.so - ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib - @/usr/bin/ranlib ${PREFIX}/lib/libuu.a - ${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include - ${INSTALL_MAN} ${WRKDIR}/uulib.3 ${MANPREFIX}/man/man3 -.if ${PORT_OPTIONS:MDOCS} - @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR} + ${INSTALL_LIB} ${WRKSRC}/uulib/libuu.so.${SHLIB_VER} ${STAGEDIR}${PREFIX}/lib + ${LN} -sf libuu.so.${SHLIB_VER} ${STAGEDIR}${PREFIX}/lib/libuu.so + ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_MAN} ${WRKDIR}/uulib.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR} .for docfile in ${DOCFILES} - ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |