openbsd-ports/graphics/tgif/Makefile
2006-11-13 11:20:24 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2006/11/13 11:20:25 steven Exp $
COMMENT= "two-dimensional drawing tool and hyper-object browser"
DISTNAME= tgif-QPL-4.1.43
PKGNAME= ${DISTNAME:S/-QPL//}p0
CATEGORIES= graphics
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/ \
${MASTER_SITE_SOURCEFORGE:=tgif/}
HOMEPAGE= http://bourbon.usc.edu:8001/tgif/
# Trolltech Q License
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
WANTLIB= X11 Xext c m
RUN_DEPENDS= ::graphics/netpbm
CONFIGURE_STYLE=imake
USE_X11= Yes
MAKE_FLAGS= MODULE_CFLAGS="${CFLAGS}"
TGIFDOC= ${PREFIX}/share/doc/tgif
DEMO_FILES= an-sr-flip-flop.obj launch-demo-1.obj \
fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
READMES= Copyright License HISTORY README
post-extract:
@rm -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
@cp ${WRKDIR}/${DISTNAME}/Tgif.tmpl-openbsd \
${WRKDIR}/${DISTNAME}/Tgif.tmpl
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${TGIFDOC}
cd ${WRKSRC} ;\
${INSTALL_DATA} ${DEMO_FILES} ${TGIFDOC} ;\
${INSTALL_DATA} ${READMES} ${TGIFDOC}
.include <bsd.port.mk>