summaryrefslogtreecommitdiff
path: root/graphics/a2png/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/a2png/Makefile')
-rw-r--r--graphics/a2png/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/a2png/Makefile b/graphics/a2png/Makefile
index bd03e838e060..ea8122220871 100644
--- a/graphics/a2png/Makefile
+++ b/graphics/a2png/Makefile
@@ -7,21 +7,24 @@
PORTNAME= a2png
PORTVERSION= 0.1.5
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts plain ASCII text into PNG bitmap images
-LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gd
+CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"'
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
+FONTROOTDIR?= ${LOCALBASE}/lib/X11/fonts
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MAN1PREFIX}/man/man1/