openbsd-ports/x11/ttmkfdir/Makefile
2002-03-21 21:25:50 +00:00

34 lines
836 B
Makefile

# $OpenBSD: Makefile,v 1.5 2002/03/21 21:25:56 espie Exp $
COMMENT= "create fonts.scale file for the TrueType font server"
PKGNAME= ttmkfdir-0.0
DISTNAME= ttmkfdir
CATEGORIES= x11
NEED_VERSION= 1.515
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>