Lines 9-31
Link Here
|
9 |
PORTNAME= gman |
9 |
PORTNAME= gman |
10 |
PORTVERSION= 0.9.3 |
10 |
PORTVERSION= 0.9.3 |
11 |
CATEGORIES= misc |
11 |
CATEGORIES= misc |
12 |
MASTER_SITES= http://homex.coolconnect.com/user/xkwang/gman/ |
12 |
MASTER_SITES= http://stud3.tuwien.ac.at/~e0025974/distfiles/ \ |
|
|
13 |
http://homex.coolconnect.com/user/xkwang/gman/ |
13 |
|
14 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
|
16 |
|
16 |
BROKEN= "Does not fetch" |
|
|
17 |
|
18 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg |
17 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg |
19 |
RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview |
18 |
RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview |
20 |
|
19 |
|
21 |
USE_GNOMENG= yes |
20 |
USE_GNOMENG= yes |
22 |
USE_GNOME= gtk12 |
21 |
USE_GNOME= gtk12 |
|
|
22 |
USE_REINPLACE= yes |
23 |
|
23 |
|
24 |
MAN1= gman.1x |
24 |
MAN1= gman.1x |
25 |
|
25 |
|
26 |
post-patch: |
26 |
post-patch: |
27 |
@${PERL} -pi -e "s,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \ |
27 |
@${REINPLACE_CMD} -e 's,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \ |
28 |
s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ; \ |
28 |
s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ;s,\-O2,,g ; \ |
29 |
s,/var/www,${LOCALBASE}/www,g" ${WRKSRC}/Makefile |
29 |
s,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g;' \ |
|
|
30 |
${WRKSRC}/Makefile |
31 |
|
32 |
do-install: |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin |
34 |
${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi |
35 |
${MKDIR} ${PREFIX}/www/cgi-bin/gman |
36 |
${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin/gman |
37 |
${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1 |
30 |
|
38 |
|
31 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |