aboutsummaryrefslogtreecommitdiffstats
path: root/print/ttftot42
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-05-03 17:03:43 +0800
committerkrion <krion@FreeBSD.org>2005-05-03 17:03:43 +0800
commit36df1b4960ddc3b4d4a099c58d541586258409db (patch)
treee1f3a008c23caf8f96336c96c145dc00b4457163 /print/ttftot42
parentcb6e0c3622eab8a3f7714c456e4c4df759437842 (diff)
downloadfreebsd-ports-gnome-36df1b4960ddc3b4d4a099c58d541586258409db.tar.gz
freebsd-ports-gnome-36df1b4960ddc3b4d4a099c58d541586258409db.tar.zst
freebsd-ports-gnome-36df1b4960ddc3b4d4a099c58d541586258409db.zip
Fix MASTER_SITES
Support CFLAGS properly Support USE_GETOPT_LONG PR: ports/80543 Submitted by: Ports Fury
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>