blob: 00e4b3caa6fd8c373633f31f5d75e50576921f7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: chuckr@FreeBSD.org
# $FreeBSD$
PORTNAME= transfig
PORTVERSION= 3.2.5e
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF/mcj/mcj-source/
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= pi@FreeBSD.org
COMMENT= Tools to convert Xfig .fig files
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USES= alias imake
CFLAGS+= -Wno-return-type
USE_GHOSTSCRIPT_RUN= yes
USE_XORG= xpm
CFLAGS+= -I${LOCALBASE}/include/libpng15
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \
INSTPGMFLAGS="${STRIP} ${_BINOWNGRP} -m ${BINMODE}" \
INSTBINFLAGS="${_BINOWNGRP} -m ${BINMODE}" \
INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \
INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}"
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
.include <bsd.port.mk>
|