openbsd-ports/x11/ttmkfdir/Makefile

35 lines
896 B
Makefile

# $OpenBSD: Makefile,v 1.3 2001/07/07 13:06:41 lebel Exp $
COMMENT= "create fonts.scale file for the TrueType font server"
PKGNAME= ttmkfdir-0.0
DISTNAME= ttmkfdir
HOMEPAGE= http://www.joerg-pommnitz.de/TrueType/xfsft.html
CATEGORIES= x11
NEED_VERSION= 1.364
MAINTAINER= David Lebel <lebel@openbsd.org>
MASTER_SITES= http://www.joerg-pommnitz.de/TrueType/
LIB_DEPENDS= ttf.1.::print/freetype
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WRKSRC= ${WRKDIR}
do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} ttmkfdir.c \
-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype \
-L${LOCALBASE}/lib -o ttmkfdir -lttf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${PREFIX}/bin/ttmkfdir
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttmkfdir
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttmkfdir
.include <bsd.port.mk>