aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libphish
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-28 16:26:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-28 16:26:45 +0800
commitdfd195d3abae366d0d4c1731b82c484c4c44e38e (patch)
treeda21e3cbd36f2497070e034323c3a7f795a0d212 /devel/libphish
parent7c1142a6a7451f4ef3fdee3806104c401ee40137 (diff)
downloadfreebsd-ports-gnome-dfd195d3abae366d0d4c1731b82c484c4c44e38e.tar.gz
freebsd-ports-gnome-dfd195d3abae366d0d4c1731b82c484c4c44e38e.tar.zst
freebsd-ports-gnome-dfd195d3abae366d0d4c1731b82c484c4c44e38e.zip
- Switch to USES=libtool,tar
- Strip library
Diffstat (limited to 'devel/libphish')
-rw-r--r--devel/libphish/Makefile14
-rw-r--r--devel/libphish/pkg-plist42
2 files changed, 13 insertions, 43 deletions
diff --git a/devel/libphish/Makefile b/devel/libphish/Makefile
index 0ea29dd31ae8..d67fed1f9870 100644
--- a/devel/libphish/Makefile
+++ b/devel/libphish/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libphish
PORTVERSION= 0.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://download.berlios.de/opdb/ \
http://download2.berlios.de/opdb/ \
@@ -13,16 +13,18 @@ COMMENT= Cross-platform library to interact with the Open Phishing Database
BUILD_DEPENDS= xmlwf:${PORTSDIR}/textproc/expat2
-OPTIONS_DEFINE= DOCS
-
-USE_AUTOTOOLS= libtool
-USE_BZIP2= yes
-USE_LDCONFIG= yes
+USES= tar:bzip2 libtool
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include -DFreeBSD
LDFLAGS+= -L${LOCALBASE}/lib
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
diff --git a/devel/libphish/pkg-plist b/devel/libphish/pkg-plist
index 2d74d42321b7..f20fc10c0b6d 100644
--- a/devel/libphish/pkg-plist
+++ b/devel/libphish/pkg-plist
@@ -1,38 +1,6 @@
-lib/libphish.so
-lib/libphish.so.1
-lib/libphish.a
-lib/libphish.la
-include/phish.h
bin/libphish-config
-@rmtry lib/libphish.so
-%%PORTDOCS%%%%DOCSDIR%%/Doxyfile
-%%PORTDOCS%%%%DOCSDIR%%/doxygen.css
-%%PORTDOCS%%%%DOCSDIR%%/annotated.html
-%%PORTDOCS%%%%DOCSDIR%%/files.html
-%%PORTDOCS%%%%DOCSDIR%%/functions.html
-%%PORTDOCS%%%%DOCSDIR%%/functions_vars.html
-%%PORTDOCS%%%%DOCSDIR%%/globals.html
-%%PORTDOCS%%%%DOCSDIR%%/globals_enum.html
-%%PORTDOCS%%%%DOCSDIR%%/globals_eval.html
-%%PORTDOCS%%%%DOCSDIR%%/globals_func.html
-%%PORTDOCS%%%%DOCSDIR%%/globals_type.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/main.html
-%%PORTDOCS%%%%DOCSDIR%%/phish_8h-source.html
-%%PORTDOCS%%%%DOCSDIR%%/phish_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/structphish__url__data__t.html
-%%PORTDOCS%%%%DOCSDIR%%/tree.html
-%%PORTDOCS%%%%DOCSDIR%%/doxygen.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2blank.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2doc.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2folderclosed.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2folderopen.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2vertline.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2lastnode.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2link.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2mlastnode.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2mnode.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2node.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2plastnode.png
-%%PORTDOCS%%%%DOCSDIR%%/ftv2pnode.png
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+include/phish.h
+lib/libphish.a
+lib/libphish.so
+lib/libphish.so.0
+lib/libphish.so.0.1.0