aboutsummaryrefslogtreecommitdiff
path: root/graphics/tgif/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2010-08-22 07:01:52 +0000
committerHiroki Sato <hrs@FreeBSD.org>2010-08-22 07:01:52 +0000
commit8ae0091bc326c098d6b097a856c33b1d79f767d1 (patch)
tree89c2d4277736aae3fb0acc505a019815e077f4fd /graphics/tgif/Makefile
parent46e49dc9be18ba91703004859adfe4a0dfb38d65 (diff)
Notes
Diffstat (limited to 'graphics/tgif/Makefile')
-rw-r--r--graphics/tgif/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
index 44f962a2ba50..26eee78a9ff9 100644
--- a/graphics/tgif/Makefile
+++ b/graphics/tgif/Makefile
@@ -6,13 +6,11 @@
#
PORTNAME= tgif
-PORTVERSION= 4.1.45
-PORTREVISION= 8
+PORTVERSION= 4.2.2
CATEGORIES= graphics
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/ \
http://groups.yahoo.com/group/tgif4-announce/files/ \
SF
-
DISTNAME= ${PORTNAME}-QPL-${PORTVERSION}
MAINTAINER= bmc@clapper.org
@@ -26,6 +24,8 @@ OPTIONS= NLS "Enable native language support" on \
USE_IMAKE= yes
PORTDOCS= HISTORY README
USE_XORG= x11 xext xt sm ice
+MAKE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
MAN1= tgif.1
@@ -50,9 +50,8 @@ EXAMPLES.spice= README BZ.mod DN.mod DN.sym MN.mod MN.sym MP.mod MP.sym \
resistor.0tc.sym resistor.2tc.sym resistor.h.2tc.sym \
resistor.h.sym resistor.sym
-post-extract:
- ${CP} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
- ${WRKSRC}/Tgif.tmpl
+pre-configure:
+ cd ${WRKSRC} && ${INSTALL_DATA} Tgif.tmpl-freebsd Tgif.tmpl
( for D in ${IMAKEDEFINES}; do \
${ECHO_CMD} "#define $${D}"; \
done; \