aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-11-11 15:31:16 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-11-11 15:31:16 +0000
commit77110cf25af6e5549c40a7870ee83b9868af07a6 (patch)
tree33b061544d7aa65446f5c7b6ad5d55e7b0e0a651
parent19c5bf299ddb695a8028e7e59bf5952d3eb27dec (diff)
downloadports-77110cf25af6e5549c40a7870ee83b9868af07a6.tar.gz
ports-77110cf25af6e5549c40a7870ee83b9868af07a6.zip
Notes
-rw-r--r--comms/libfec/Makefile24
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>