2013-09-21 00:43:59 +02:00
|
|
|
# Created by: tg@FreeBSD.org
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-04-17 09:01:09 +02:00
|
|
|
|
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
|
2004-12-30 10:14:59 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-10-18 11:43:46 +02:00
|
|
|
|
2010-07-08 14:51:37 +02:00
|
|
|
MAINTAINER= bf@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A PostScript and PDF previewer
|
1996-04-17 09:01:09 +02:00
|
|
|
|
2005-04-10 07:39:56 +02:00
|
|
|
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
|
1996-04-17 09:01:09 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm ice sm xext xmu x11
|
2004-12-30 10:14:59 +01:00
|
|
|
USE_GHOSTSCRIPT= yes
|
2013-09-12 17:23:58 +02:00
|
|
|
USES= iconv gmake perl5
|
|
|
|
USE_PERL5= build
|
2004-12-30 10:14:59 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-05-16 21:45:03 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2013-09-04 20:06:07 +02:00
|
|
|
CONFIGURE_ENV += LDFLAGS="${LDFLAGS}" LIBS="${ICONV_LIB}"
|
2008-07-26 18:36:41 +02:00
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \
|
2010-02-05 04:36:22 +01:00
|
|
|
--enable-setenv-code \
|
|
|
|
--enable-SIGCHLD-fallback
|
2004-12-30 10:14:59 +01:00
|
|
|
|
2009-04-11 13:48:09 +02:00
|
|
|
MAN1= gv.1 gv-update-userconfig.1
|
2004-12-30 10:14:59 +01:00
|
|
|
INFO= gv
|
|
|
|
PLIST_FILES= bin/gv \
|
2009-04-11 13:48:09 +02:00
|
|
|
bin/gv-update-userconfig \
|
2010-08-06 20:07:27 +02:00
|
|
|
%%DATADIR%%/gv_system.ad \
|
|
|
|
%%DATADIR%%/safe-gs-workdir/.keep_me \
|
2007-10-14 18:52:36 +02:00
|
|
|
lib/X11/app-defaults/GV
|
2010-08-06 20:07:27 +02:00
|
|
|
PLIST_DIRS= %%DATADIR%%/safe-gs-workdir \
|
|
|
|
%%DATADIR%%
|
|
|
|
|
2013-09-21 00:43:59 +02:00
|
|
|
NO_STAGE= yes
|
2010-08-06 20:07:27 +02:00
|
|
|
post-install:
|
|
|
|
@${TOUCH} ${DATADIR}/safe-gs-workdir/.keep_me
|
2008-07-26 18:36:41 +02:00
|
|
|
|
1997-01-14 10:13:16 +01:00
|
|
|
.include <bsd.port.mk>
|