freebsd-ports/graphics/qiv/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: qiv
# Date created: 25 December 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
1999-08-25 02:16:32 -04:00
# $FreeBSD$
#
PORTNAME= qiv
2001-01-21 17:54:08 -05:00
PORTVERSION= 1.6
CATEGORIES= graphics
MASTER_SITES= http://www.klografx.net/qiv/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
2001-01-21 17:54:08 -05:00
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_X_PREFIX= yes
USE_GMAKE= yes
2000-10-05 02:57:56 -04:00
USE_IMLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
2000-10-05 02:57:56 -04:00
MAN1= qiv.1
do-configure:
@ ${MV} ${WRKSRC}/qiv.1 ${WRKSRC}/qiv.1.pre_sed
@ ${SED} -e 's#\/usr\/bin#${PREFIX}/bin#g' \
${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1
@ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
@ ${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#' \
${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>