aboutsummaryrefslogtreecommitdiff
path: root/devel/libphish
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-21 00:50:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-21 00:50:09 +0000
commitb0491bc37ac3558187d0f03a4d7e5c7eb0e64955 (patch)
tree252e9332b712323563b532ddb20a72b8da92e9b0 /devel/libphish
parent13660ea0b30b254fd16c2e76dd793a3bde372d1d (diff)
Support stage
Fix plist
Notes
Notes: svn path=/head/; revision=340529
Diffstat (limited to 'devel/libphish')
-rw-r--r--devel/libphish/Makefile12
-rw-r--r--devel/libphish/pkg-plist1
2 files changed, 7 insertions, 6 deletions
diff --git a/devel/libphish/Makefile b/devel/libphish/Makefile
index ed3cdf1bb054..f679ebdff301 100644
--- a/devel/libphish/Makefile
+++ b/devel/libphish/Makefile
@@ -3,15 +3,18 @@
PORTNAME= libphish
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.berlios.de/opdb/ \
http://download2.berlios.de/opdb/ \
MAINTAINER= citycat4@ngs.ru
-COMMENT= A cross-platform library to interact with the Open Phishing Database
+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
@@ -20,11 +23,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -DFreeBSD
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} `${LS}` ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/devel/libphish/pkg-plist b/devel/libphish/pkg-plist
index 2326ea273f7b..2d74d42321b7 100644
--- a/devel/libphish/pkg-plist
+++ b/devel/libphish/pkg-plist
@@ -1,3 +1,4 @@
+lib/libphish.so
lib/libphish.so.1
lib/libphish.a
lib/libphish.la