diff options
author | olgeni <olgeni@FreeBSD.org> | 2013-11-11 23:31:16 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2013-11-11 23:31:16 +0800 |
commit | 1cd4328493411fe961c661621538c73384bc01bf (patch) | |
tree | 33b061544d7aa65446f5c7b6ad5d55e7b0e0a651 /comms | |
parent | a959784c70f25fa39b9e996236817f532e5e2e91 (diff) | |
download | freebsd-ports-gnome-1cd4328493411fe961c661621538c73384bc01bf.tar.gz freebsd-ports-gnome-1cd4328493411fe961c661621538c73384bc01bf.tar.zst freebsd-ports-gnome-1cd4328493411fe961c661621538c73384bc01bf.zip |
- Switch to USES=gmake.
- Add staging support.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/libfec/Makefile | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/comms/libfec/Makefile b/comms/libfec/Makefile index 257f6e5928f6..dea6ce6984de 100644 --- a/comms/libfec/Makefile +++ b/comms/libfec/Makefile @@ -13,16 +13,19 @@ MAINTAINER= olgeni@FreeBSD.org COMMENT= Several forward error correction (FEC) decoders MAKEFILE= makefile -MAN3= simd-viterbi.3 rs.3 dsp.3 -USE_BZIP2= yes GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake +USE_BZIP2= yes USE_LDCONFIG= yes ONLY_FOR_ARCHS= i386 amd64 -PLIST_FILES= include/fec.h lib/libfec.so lib/libfec.a +PLIST_FILES= include/fec.h \ + lib/libfec.so \ + lib/libfec.a \ + man/man3/dsp.3.gz \ + man/man3/rs.3.gz \ + man/man3/simd-viterbi.3.gz -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" @@ -32,4 +35,15 @@ CFLAGS+= -fPIC post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/makefile.in +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include + @${MKDIR} ${STAGEDIR}${PREFIX}/lib + @${MKDIR} ${STAGEDIR}${MAN3PREFIX}/man/man3 + ${INSTALL_DATA} ${WRKSRC}/fec.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_LIB} ${WRKSRC}/libfec.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libfec.so ${STAGEDIR}${PREFIX}/lib +.for _man in dsp.3 simd-viterbi.3 rs.3 + ${INSTALL_MAN} ${WRKSRC}/${_man} ${STAGEDIR}${MAN3PREFIX}/man/man3 +.endfor + .include <bsd.port.post.mk> |