2001-03-30 11:49:36 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: gman
|
|
|
|
# Date created: Mar 30, 3001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gman
|
2002-06-10 00:25:02 -04:00
|
|
|
PORTVERSION= 0.9.3
|
2001-03-30 11:49:36 -05:00
|
|
|
CATEGORIES= misc
|
2003-01-03 00:58:03 -05:00
|
|
|
MASTER_SITES= http://stud3.tuwien.ac.at/~e0025974/distfiles/ \
|
|
|
|
http://homex.coolconnect.com/user/xkwang/gman/
|
2001-03-30 11:49:36 -05:00
|
|
|
|
2002-06-10 00:25:02 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-03-30 11:49:36 -05:00
|
|
|
|
2001-04-16 23:03:36 -04:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
2001-03-30 11:49:36 -05:00
|
|
|
RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview
|
|
|
|
|
2002-09-01 11:13:16 -04:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2003-01-03 00:58:03 -05:00
|
|
|
USE_REINPLACE= yes
|
2001-03-30 11:49:36 -05:00
|
|
|
|
|
|
|
MAN1= gman.1x
|
|
|
|
|
2002-06-10 00:25:02 -04:00
|
|
|
post-patch:
|
2003-01-03 00:58:03 -05:00
|
|
|
@${REINPLACE_CMD} -e 's,^CXX =,#CXX =,g' \
|
|
|
|
-e 's,^CXXFLAGS =,CXXFLAGS+=,g' \
|
|
|
|
-e 's,gtk-config,${GTK_CONFIG},g' \
|
|
|
|
-e 's,= /usr,= ${PREFIX},g' \
|
|
|
|
-e 's,\-O2,,g' \
|
|
|
|
-e 's,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g' ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi
|
|
|
|
@${MKDIR} ${PREFIX}/www/cgi-bin/gman
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin/gman
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1
|
2001-03-30 11:49:36 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|