2013-09-21 00:43:59 +02:00
|
|
|
# Created by: chuckr@FreeBSD.org
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1995-01-07 12:01:52 +01:00
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= transfig
|
2013-09-05 16:10:41 +02:00
|
|
|
PORTVERSION= 3.2.5e
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 2
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2013-02-15 10:36:51 +01:00
|
|
|
MASTER_SITES= SF/mcj/mcj-source/
|
2000-04-09 19:41:40 +02:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
1995-04-12 05:57:37 +02:00
|
|
|
|
2014-06-08 21:05:27 +02:00
|
|
|
MAINTAINER= pi@FreeBSD.org
|
2013-09-05 16:10:41 +02:00
|
|
|
COMMENT= Tools to convert Xfig .fig files
|
1996-08-10 04:10:40 +02:00
|
|
|
|
2004-01-20 17:30:09 +01:00
|
|
|
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
|
2014-12-25 14:53:36 +01:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
1997-08-28 06:21:32 +02:00
|
|
|
|
2015-07-16 22:53:28 +02:00
|
|
|
USES= alias ghostscript:run imake
|
2013-06-28 13:51:05 +02:00
|
|
|
CFLAGS+= -Wno-return-type
|
- 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
|
1998-04-30 18:35:33 +02:00
|
|
|
|
2007-06-10 02:49:25 +02:00
|
|
|
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \
|
2015-04-08 17:18:07 +02:00
|
|
|
INSTPGMFLAGS="${STRIP}" \
|
|
|
|
INSTBINFLAGS="-m ${BINMODE}" \
|
|
|
|
INSTDATFLAGS="-m ${SHAREMODE}" \
|
|
|
|
INSTMANFLAGS="-m ${MANMODE}"
|
2007-06-10 02:49:25 +02:00
|
|
|
|
2014-05-09 02:20:48 +02:00
|
|
|
post-install:
|
|
|
|
for i in hr_HR hu_HU pl_PL ro_RO; do \
|
|
|
|
${LN} -sf cs_CZ.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \
|
|
|
|
done
|
|
|
|
for i in ja ja_JP.EUC ja_JP.eucJP ja_JP ja_JP.ujis ; do \
|
|
|
|
${LN} -sf japanese.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \
|
|
|
|
done
|
|
|
|
for i in ko ko_KR.EUC ko_KR.eucKR ko_KR ko_KR.ujis; do \
|
|
|
|
${LN} -sf korean.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \
|
|
|
|
done
|
|
|
|
|
1994-11-23 15:48:06 +01:00
|
|
|
.include <bsd.port.mk>
|