Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 00:50:09 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340529 - head/devel/libphish
Message-ID:  <201401210050.s0L0o9RV078295@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401210050.s0L0o9RV078295>