svn commit: r340529 - head/devel/libphish

Baptiste Daroussin bapt at FreeBSD.org
Tue Jan 21 00:50:10 UTC 2014


Author: bapt
Date: Tue Jan 21 00:50:09 2014
New Revision: 340529
URL: http://svnweb.freebsd.org/changeset/ports/340529
QAT: https://qat.redports.org/buildarchive/r340529/

Log:
  Support stage
  Fix plist

Modified:
  head/devel/libphish/Makefile
  head/devel/libphish/pkg-plist

Modified: head/devel/libphish/Makefile
==============================================================================
--- head/devel/libphish/Makefile	Tue Jan 21 00:48:05 2014	(r340528)
+++ head/devel/libphish/Makefile	Tue Jan 21 00:50:09 2014	(r340529)
@@ -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 at 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>

Modified: head/devel/libphish/pkg-plist
==============================================================================
--- head/devel/libphish/pkg-plist	Tue Jan 21 00:48:05 2014	(r340528)
+++ head/devel/libphish/pkg-plist	Tue Jan 21 00:50:09 2014	(r340529)
@@ -1,3 +1,4 @@
+lib/libphish.so
 lib/libphish.so.1
 lib/libphish.a
 lib/libphish.la


More information about the svn-ports-all mailing list