aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/gtorrentviewer/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /net-p2p/gtorrentviewer/Makefile
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
Notes
Diffstat (limited to 'net-p2p/gtorrentviewer/Makefile')
-rw-r--r--net-p2p/gtorrentviewer/Makefile22
1 files changed, 5 insertions, 17 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>