aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/gtorrentviewer/Makefile19
-rw-r--r--net-p2p/gtorrentviewer/pkg-plist1
2 files changed, 12 insertions, 8 deletions
diff --git a/net-p2p/gtorrentviewer/Makefile b/net-p2p/gtorrentviewer/Makefile
index 59237e4e43ae..e760be40bf47 100644
--- a/net-p2p/gtorrentviewer/Makefile
+++ b/net-p2p/gtorrentviewer/Makefile
@@ -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@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
diff --git a/net-p2p/gtorrentviewer/pkg-plist b/net-p2p/gtorrentviewer/pkg-plist
index e6e05b6f52b3..7b2ac0d181f8 100644
--- a/net-p2p/gtorrentviewer/pkg-plist
+++ b/net-p2p/gtorrentviewer/pkg-plist
@@ -1,4 +1,5 @@
bin/gtorrentviewer
+man/man1/gtorrentviewer.1.gz
share/GTorrentViewer/README
share/GTorrentViewer/pixmaps/about.png
share/GTorrentViewer/pixmaps/dictionary.png