summaryrefslogtreecommitdiff
path: root/print/ttftot42
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-05-03 09:03:43 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-05-03 09:03:43 +0000
commitc49e882e3253c997259183626a41112611a1920f (patch)
tree8b9ac263c1f8b194ded2cbe2ccd10336a986cb73 /print/ttftot42
parentFix build (diff)
Fix MASTER_SITES
Support CFLAGS properly Support USE_GETOPT_LONG PR: ports/80543 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=134533
Diffstat (limited to 'print/ttftot42')
-rw-r--r--print/ttftot42/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/print/ttftot42/Makefile b/print/ttftot42/Makefile
index be2d116b92eb..67a7dcc417ed 100644
--- a/print/ttftot42/Makefile
+++ b/print/ttftot42/Makefile
@@ -7,15 +7,22 @@
PORTNAME= ttftot42
PORTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= print
-MASTER_SITES= http://www.giga.or.at/pub/nih/ttftot42/
+MASTER_SITES= http://www.nih.at/ttftot42/
MAINTAINER= ports@FreeBSD.org
COMMENT= TrueType to Type42 font converter
-PLIST_FILES= bin/ttftot42
+USE_GETOPT_LONG= yes
USE_FREETYPE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= "CFLAGS=-I${LOCALBASE}/include/freetype1/freetype"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+PLIST_FILES= bin/ttftot42
+
+CPPFLAGS= -I${LOCALBASE}/include/freetype1/freetype \
+ -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.mk>