diff options
author | John Marino <marino@FreeBSD.org> | 2014-03-01 19:53:44 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-03-01 19:53:44 +0000 |
commit | 3682efef97c3cd5a573a6db43e927caa783044f4 (patch) | |
tree | 6389141baaa27eddcd8e48a85e2b688a86197993 /devel/fib | |
parent | cc9b0de319894aa45fa84a4b08871bf11d1bf621 (diff) | |
download | ports-3682efef97c3cd5a573a6db43e927caa783044f4.tar.gz ports-3682efef97c3cd5a573a6db43e927caa783044f4.zip |
Notes
Diffstat (limited to 'devel/fib')
-rw-r--r-- | devel/fib/Makefile | 25 | ||||
-rw-r--r-- | devel/fib/pkg-plist | 2 |
2 files changed, 21 insertions, 6 deletions
diff --git a/devel/fib/Makefile b/devel/fib/Makefile index 3df91f9d788b..6bb53f192fef 100644 --- a/devel/fib/Makefile +++ b/devel/fib/Makefile @@ -3,6 +3,7 @@ PORTNAME= fib PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://resnet.uoregon.edu/~gurney_j/jmpc/dist/ @@ -11,14 +12,28 @@ COMMENT= Fibonacci Heap Library GNU_CONFIGURE= yes USE_LDCONFIG= yes +ALL_TARGET= libfib.a libfib.so.1 +STATIC_INST= libfib.a MANPAGES= fh_extractmin.3 fh_makeheap.3 fh_makekeyheap.3 -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfib.so.1 +.include <bsd.port.pre.mk> + +.if defined(NO_PROFILE) || ${OPSYS} == DragonFly +PLIST_SUB+= PROFILE="@comment " +.else +ALL_TARGET+= libfib_p.a +STATIC_INST+= libfib_p.a +PLIST_SUB+= PROFILE="" +.endif + +do-install: + ${INSTALL_DATA} ${WRKSRC}/fib.h ${STAGEDIR}${PREFIX}/include/ + ${INSTALL_LIB} ${WRKSRC}/libfib.so.1 ${STAGEDIR}${PREFIX}/lib/ @(cd ${STAGEDIR}${PREFIX}/lib/; ${LN} -sf libfib.so.1 libfib.so) -.for mf in ${MANPAGES} - ${INSTALL_MAN} ${WRKSRC}/${mf} ${STAGEDIR}${PREFIX}/man/man3/ -.endfor + @(cd ${WRKSRC}; ${INSTALL_DATA} ${STATIC_INST} \ + ${STAGEDIR}${PREFIX}/lib/) + @(cd ${WRKSRC}; ${INSTALL_MAN} ${MANPAGES} \ + ${STAGEDIR}${PREFIX}/man/man3/) .include <bsd.port.mk> diff --git a/devel/fib/pkg-plist b/devel/fib/pkg-plist index 05c9a3057c07..d125927c8add 100644 --- a/devel/fib/pkg-plist +++ b/devel/fib/pkg-plist @@ -2,7 +2,7 @@ include/fib.h lib/libfib.a lib/libfib.so lib/libfib.so.1 -lib/libfib_p.a +%%PROFILE%%lib/libfib_p.a man/man3/fh_extractmin.3.gz man/man3/fh_makeheap.3.gz man/man3/fh_makekeyheap.3.gz |