freebsd-ports/graphics/a2png/Makefile

28 lines
717 B
Makefile
Raw Normal View History

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= a2png
PORTVERSION= 0.1.5
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts plain ASCII text into PNG bitmap images
LIB_DEPENDS= libgd.so:graphics/gd
USES= tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gd
2013-08-09 16:05:52 +02:00
CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"'
2014-01-21 19:19:37 +01:00
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
FONTROOTDIR?= ${LOCALBASE}/share/fonts
2013-08-09 16:05:52 +02:00
do-install:
2014-01-21 19:19:37 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>