mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add stage support
PR: 190509
This commit is contained in:
parent
ae49d721e5
commit
5be62925c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356570
@ -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
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/gtorrentviewer
|
||||
man/man1/gtorrentviewer.1.gz
|
||||
share/GTorrentViewer/README
|
||||
share/GTorrentViewer/pixmaps/about.png
|
||||
share/GTorrentViewer/pixmaps/dictionary.png
|
||||
|
Loading…
Reference in New Issue
Block a user