2000-02-12 18:31:59 -05:00
|
|
|
# New ports collection makefile for: qiv
|
|
|
|
# Date created: 25 December 1998
|
|
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
1998-12-26 22:26:57 -05:00
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1998-12-26 22:26:57 -05:00
|
|
|
#
|
|
|
|
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTNAME= qiv
|
2001-01-21 17:54:08 -05:00
|
|
|
PORTVERSION= 1.6
|
1998-12-26 22:26:57 -05:00
|
|
|
CATEGORIES= graphics
|
2000-11-02 17:08:29 -05:00
|
|
|
MASTER_SITES= http://www.klografx.net/qiv/download/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1998-12-26 22:26:57 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-11-02 17:11:49 -05:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
1998-12-26 22:26:57 -05:00
|
|
|
|
2001-01-21 17:54:08 -05:00
|
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
|
1998-12-26 22:26:57 -05:00
|
|
|
USE_X_PREFIX= yes
|
1999-08-21 16:50:41 -04:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 02:57:56 -04:00
|
|
|
USE_IMLIB= yes
|
2000-11-02 17:08:29 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2000-10-05 02:57:56 -04:00
|
|
|
|
1998-12-26 22:26:57 -05:00
|
|
|
MAN1= qiv.1
|
|
|
|
|
2000-02-12 18:31:59 -05:00
|
|
|
do-configure:
|
1998-12-26 22:26:57 -05:00
|
|
|
@ ${MV} ${WRKSRC}/qiv.1 ${WRKSRC}/qiv.1.pre_sed
|
|
|
|
@ ${SED} -e 's#\/usr\/bin#${PREFIX}/bin#g' \
|
2000-02-12 18:31:59 -05:00
|
|
|
${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1
|
1999-08-21 16:50:41 -04:00
|
|
|
@ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
|
2000-02-12 18:31:59 -05:00
|
|
|
@ ${SED} -e 's#\/usr\/local#${PREFIX}#' \
|
|
|
|
-e 's#RANDOM GETOPT_LONG#RANDOM#' \
|
|
|
|
-e 's#gcc#${CC}#' \
|
|
|
|
-e 's#-O2#${CFLAGS}#' \
|
2001-01-21 17:54:08 -05:00
|
|
|
-e 's#libs-gdk`#libs-gdk` -lgnugetopt#' \
|
2000-02-12 18:31:59 -05:00
|
|
|
${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
|
1998-12-26 22:26:57 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${PREFIX}/man/man1/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|