freebsd-ports/print/gv/Makefile

42 lines
964 B
Makefile
Raw Normal View History

# Created by: tg@FreeBSD.org
1999-08-31 03:53:22 +02:00
# $FreeBSD$
2000-04-09 19:50:59 +02:00
PORTNAME= gv
2013-03-20 22:25:31 +01:00
PORTVERSION= 3.7.4
1996-11-12 08:06:32 +01:00
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= bf@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= A PostScript and PDF previewer
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
USE_XORG= xpm ice sm xext xmu x11
USE_GHOSTSCRIPT= yes
USES= iconv gmake perl5
USE_PERL5= build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV += LDFLAGS="${LDFLAGS}" LIBS="${ICONV_LIB}"
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \
--enable-setenv-code \
--enable-SIGCHLD-fallback
MAN1= gv.1 gv-update-userconfig.1
INFO= gv
PLIST_FILES= bin/gv \
bin/gv-update-userconfig \
%%DATADIR%%/gv_system.ad \
%%DATADIR%%/safe-gs-workdir/.keep_me \
lib/X11/app-defaults/GV
PLIST_DIRS= %%DATADIR%%/safe-gs-workdir \
%%DATADIR%%
NO_STAGE= yes
post-install:
@${TOUCH} ${DATADIR}/safe-gs-workdir/.keep_me
.include <bsd.port.mk>