Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
PORTNAME= gtorrentviewer |
5 |
PORTNAME= gtorrentviewer |
6 |
PORTVERSION= 0.2b |
6 |
PORTVERSION= 0.2b |
7 |
PORTREVISION= 16 |
7 |
PORTREVISION= 17 |
8 |
CATEGORIES= net-p2p |
8 |
CATEGORIES= net-p2p |
9 |
MASTER_SITES= SF/${PORTNAME}/GTorrentViewer/${PORTVERSION} |
9 |
MASTER_SITES= SF/${PORTNAME}/GTorrentViewer/${PORTVERSION} |
10 |
DISTNAME= GTorrentViewer-${PORTVERSION} |
10 |
DISTNAME= GTorrentViewer-${PORTVERSION} |
Lines 12-20
Link Here
|
12 |
MAINTAINER= 5u623l20@gmail.com |
12 |
MAINTAINER= 5u623l20@gmail.com |
13 |
COMMENT= GTK+2 viewer and editor for BitTorrent meta files |
13 |
COMMENT= GTK+2 viewer and editor for BitTorrent meta files |
14 |
|
14 |
|
15 |
PORTSCOUT= skipv:0.2 # older than current version |
15 |
LICENSE= GPLv2 |
16 |
|
16 |
|
17 |
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl |
17 |
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl |
18 |
|
18 |
|
19 |
USE_GNOME= gtk20 gnomehier intlhack |
19 |
USE_GNOME= gtk20 gnomehier intlhack |
20 |
USES= gmake pkgconfig |
20 |
USES= gmake pkgconfig |
Lines 24-41
Link Here
|
24 |
CONFIGURE_ARGS= --with-pixmapsdir=${PREFIX}/share/pixmaps \ |
24 |
CONFIGURE_ARGS= --with-pixmapsdir=${PREFIX}/share/pixmaps \ |
25 |
--with-desktopdir=${PREFIX}/share/applications |
25 |
--with-desktopdir=${PREFIX}/share/applications |
26 |
|
26 |
|
27 |
MAN1= gtorrentviewer.1 |
27 |
PORTSCOUT= skipv:0.2 # older than current version |
|
|
28 |
|
29 |
OPTIONS_DEFINE= DOCS |
30 |
|
28 |
DOCS= AUTHORS COPYING ChangeLog README |
31 |
DOCS= AUTHORS COPYING ChangeLog README |
29 |
|
32 |
|
30 |
NO_STAGE= yes |
33 |
.include <bsd.port.options.mk> |
31 |
post-patch: |
34 |
post-patch: |
32 |
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/main.c |
35 |
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/main.c |
33 |
|
36 |
|
34 |
.ifndef (NOPORTDOCS) |
|
|
35 |
post-install: |
37 |
post-install: |
36 |
@${MKDIR} ${DOCSDIR} |
38 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
39 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
37 |
.for i in ${DOCS} |
40 |
.for i in ${DOCS} |
38 |
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
41 |
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} |
39 |
.endfor |
42 |
.endfor |
40 |
.endif |
43 |
.endif |
41 |
|
44 |
|