openbsd-ports/x11/ttmkfdir/Makefile
2002-10-29 19:48:57 +00:00

33 lines
831 B
Makefile

# $OpenBSD: Makefile,v 1.6 2002/10/29 19:48:59 naddy Exp $
COMMENT= "create fonts.scale file for the TrueType font server"
PKGNAME= ttmkfdir-0.0
DISTNAME= ttmkfdir
CATEGORIES= x11
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}
NO_REGRESS= Yes
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>