summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>