2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-10-07 22:56:54 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= a2png
|
|
|
|
PORTVERSION= 0.1.5
|
2016-07-20 11:33:31 +02:00
|
|
|
PORTREVISION= 8
|
2006-10-07 22:56:54 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2008-09-07 02:19:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-10-07 22:56:54 +02:00
|
|
|
COMMENT= Converts plain ASCII text into PNG bitmap images
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libgd.so:graphics/gd
|
2006-10-07 22:56:54 +02:00
|
|
|
|
2014-07-29 23:43:17 +02:00
|
|
|
USES= tar:bzip2
|
2006-10-07 22:56:54 +02:00
|
|
|
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
|
2006-10-07 22:56:54 +02:00
|
|
|
|
2015-03-22 00:05:19 +01:00
|
|
|
FONTROOTDIR?= ${LOCALBASE}/share/fonts
|
2013-08-09 16:05:52 +02:00
|
|
|
|
2006-10-07 22:56:54 +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
|
2006-10-07 22:56:54 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|