svn commit: r356570 - head/net-p2p/gtorrentviewer

Martin Wilke miwi at FreeBSD.org
Thu Jun 5 01:47:08 UTC 2014


Author: miwi
Date: Thu Jun  5 01:47:07 2014
New Revision: 356570
URL: http://svnweb.freebsd.org/changeset/ports/356570
QAT: https://qat.redports.org/buildarchive/r356570/

Log:
  - Add stage support
  
  PR:		190509

Modified:
  head/net-p2p/gtorrentviewer/Makefile
  head/net-p2p/gtorrentviewer/pkg-plist

Modified: head/net-p2p/gtorrentviewer/Makefile
==============================================================================
--- head/net-p2p/gtorrentviewer/Makefile	Thu Jun  5 01:46:04 2014	(r356569)
+++ head/net-p2p/gtorrentviewer/Makefile	Thu Jun  5 01:47:07 2014	(r356570)
@@ -4,7 +4,7 @@
 
 PORTNAME=	gtorrentviewer
 PORTVERSION=	0.2b
-PORTREVISION=	16
+PORTREVISION=	17
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF/${PORTNAME}/GTorrentViewer/${PORTVERSION}
 DISTNAME=	GTorrentViewer-${PORTVERSION}
@@ -12,9 +12,9 @@ DISTNAME=	GTorrentViewer-${PORTVERSION}
 MAINTAINER=	5u623l20 at gmail.com
 COMMENT=	GTK+2 viewer and editor for BitTorrent meta files
 
-PORTSCOUT=	skipv:0.2	# older than current version
+LICENSE=	GPLv2
 
-LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
 
 USE_GNOME=	gtk20 gnomehier intlhack
 USES=		gmake pkgconfig
@@ -24,18 +24,21 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--with-pixmapsdir=${PREFIX}/share/pixmaps \
 		--with-desktopdir=${PREFIX}/share/applications
 
-MAN1=		gtorrentviewer.1
+PORTSCOUT=	skipv:0.2	# older than current version
+
+OPTIONS_DEFINE=	DOCS
+
 DOCS=		AUTHORS COPYING ChangeLog README
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
 post-patch:
 	@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/main.c
 
-.ifndef (NOPORTDOCS)
 post-install:
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/net-p2p/gtorrentviewer/pkg-plist
==============================================================================
--- head/net-p2p/gtorrentviewer/pkg-plist	Thu Jun  5 01:46:04 2014	(r356569)
+++ head/net-p2p/gtorrentviewer/pkg-plist	Thu Jun  5 01:47:07 2014	(r356570)
@@ -1,4 +1,5 @@
 bin/gtorrentviewer
+man/man1/gtorrentviewer.1.gz
 share/GTorrentViewer/README
 share/GTorrentViewer/pixmaps/about.png
 share/GTorrentViewer/pixmaps/dictionary.png


More information about the svn-ports-head mailing list