diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-26 14:06:08 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-26 14:06:08 +0000 |
commit | 216b5a285fdcc1456a307fcc60f3507c20d613eb (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /net-p2p/gtorrentviewer | |
parent | b829518a7d432b7cc2546fde7f032238d1db13dc (diff) |
Notes
Diffstat (limited to 'net-p2p/gtorrentviewer')
-rw-r--r-- | net-p2p/gtorrentviewer/Makefile | 22 | ||||
-rw-r--r-- | net-p2p/gtorrentviewer/pkg-plist | 5 |
2 files changed, 5 insertions, 22 deletions
diff --git a/net-p2p/gtorrentviewer/Makefile b/net-p2p/gtorrentviewer/Makefile index e760be40bf47..60403528b9e1 100644 --- a/net-p2p/gtorrentviewer/Makefile +++ b/net-p2p/gtorrentviewer/Makefile @@ -4,7 +4,7 @@ PORTNAME= gtorrentviewer PORTVERSION= 0.2b -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/GTorrentViewer/${PORTVERSION} DISTNAME= GTorrentViewer-${PORTVERSION} @@ -13,33 +13,21 @@ MAINTAINER= 5u623l20@gmail.com COMMENT= GTK+2 viewer and editor for BitTorrent meta files LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl -USE_GNOME= gtk20 gnomehier intlhack USES= gmake pkgconfig +USE_GNOME= gtk20 gnomehier intlhack GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-pixmapsdir=${PREFIX}/share/pixmaps \ --with-desktopdir=${PREFIX}/share/applications +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib -lm PORTSCOUT= skipv:0.2 # older than current version -OPTIONS_DEFINE= DOCS - -DOCS= AUTHORS COPYING ChangeLog README - -.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/main.c -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor -.endif - .include <bsd.port.mk> diff --git a/net-p2p/gtorrentviewer/pkg-plist b/net-p2p/gtorrentviewer/pkg-plist index 7b2ac0d181f8..686a2da77bad 100644 --- a/net-p2p/gtorrentviewer/pkg-plist +++ b/net-p2p/gtorrentviewer/pkg-plist @@ -13,13 +13,8 @@ share/GTorrentViewer/pixmaps/ok.png share/GTorrentViewer/pixmaps/string.png share/GTorrentViewer/pixmaps/unknown.png share/GTorrentViewer/pixmaps/warning.png -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README share/applications/gtorrentviewer.desktop share/pixmaps/gtorrentviewer.png share/pixmaps/gtorrentviewer.xpm -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm share/GTorrentViewer/pixmaps @dirrm share/GTorrentViewer |