1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/qiv/Makefile

38 lines
944 B
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 06:16:32 +00:00
# $FreeBSD$
#
PORTNAME= qiv
2000-05-14 04:57:28 +00:00
PORTVERSION= 1.3
CATEGORIES= graphics
MASTER_SITES= http://www.klografx.de/software/files/
EXTRACT_SUFX= .tgz
MAINTAINER= billf@FreeBSD.org
1999-10-08 03:30:33 +00:00
LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib
USE_X_PREFIX= yes
USE_GMAKE= yes
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}#' \
${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>