1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/graphics/a2png/Makefile
2024-01-11 18:08:00 +01:00

30 lines
795 B
Makefile

PORTNAME= a2png
PORTVERSION= 0.1.5
PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts plain ASCII text into PNG bitmap images
WWW= https://sourceforge.net/projects/a2png/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgd.so:graphics/gd
USES= tar:bzip2 localbase
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gd
CFLAGS+= -DDEFAULT_FONTPATH='\"${FONTROOTDIR}/TTF:${FONTROOTDIR}/Type1:${FONTROOTDIR}\"'
BINARY_ALIAS= gdlib-config=true
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
FONTROOTDIR?= ${LOCALBASE}/share/fonts
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/
.include <bsd.port.mk>