openbsd-ports/x11/ttmkfdir/Makefile

34 lines
836 B
Makefile

# $OpenBSD: Makefile,v 1.4 2001/10/29 03:02:05 lebel Exp $
COMMENT= "create fonts.scale file for the TrueType font server"
PKGNAME= ttmkfdir-0.0
DISTNAME= ttmkfdir
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>