33 lines
990 B
Makefile
33 lines
990 B
Makefile
# $OpenBSD: Makefile,v 1.10 2002/03/21 21:25:57 espie Exp $
|
|
|
|
COMMENT= "Motif tool for editing X11 bitmap fonts"
|
|
|
|
DISTNAME= xmbdfed-4.4
|
|
CATEGORIES= x11
|
|
NEED_VERSION= 1.515
|
|
MASTER_SITES= ftp://crl.nmsu.edu/CLR/multiling/General/
|
|
|
|
LIB_DEPENDS= ttf.1.3::print/freetype
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
USE_MOTIF= any
|
|
|
|
MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS}' STATIC='' \
|
|
FTYPE_LIBS='-L${LOCALBASE}/lib -lttf' \
|
|
FTYPE_DEFS='-DHAVE_FREETYPE' \
|
|
FTYPE_INCS='-I${LOCALBASE}/include/freetype' \
|
|
HBFDEFS='-Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/bin/gunzip -c\""' \
|
|
INCS='-I${X11BASE}/include -I${LOCALBASE}/include $$(FTYPE_INCS)' \
|
|
LIBS='-L${X11BASE}/lib -L${LOCALBASE}/lib ${MOTIFLIB} -lXpm -lXmu -lXt -lX11 -lSM -lICE -lXext $$(FTYPE_LIBS)'
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/xmbdfed ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/xmbdfed.man ${PREFIX}/man/man1/xmbdfed.1
|
|
|
|
.include <bsd.port.mk>
|