summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-05-03 09:03:43 +0000
committerkrion <krion@FreeBSD.org>2005-05-03 09:03:43 +0000
commit36df1b4960ddc3b4d4a099c58d541586258409db (patch)
treee1f3a008c23caf8f96336c96c145dc00b4457163
parentcb6e0c3622eab8a3f7714c456e4c4df759437842 (diff)
downloadFreeBSD-ports-36df1b4960ddc3b4d4a099c58d541586258409db.zip
FreeBSD-ports-36df1b4960ddc3b4d4a099c58d541586258409db.tar.gz
Fix MASTER_SITES
Support CFLAGS properly Support USE_GETOPT_LONG PR: ports/80543 Submitted by: Ports Fury
-rw-r--r--print/ttftot42/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/print/ttftot42/Makefile b/print/ttftot42/Makefile
index be2d116..67a7dcc 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>
OpenPOWER on IntegriCloud