openbsd-ports/x11/bwidget/Makefile

39 lines
883 B
Makefile
Raw Normal View History

2009-03-11 17:37:27 -04:00
# $OpenBSD: Makefile,v 1.4 2009/03/11 21:40:01 sthen Exp $
PKG_ARCH= *
COMMENT= high-level widget set for Tcl/Tk
V= 1.8.0
DISTNAME= BWidget-$V
2009-03-11 17:37:27 -04:00
PKGNAME= bwidget-$Vp1
2008-08-31 06:44:10 -04:00
CATEGORIES= x11
HOMEPAGE= http://sourceforge.net/projects/tcllib/
# BSD style
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcllib/}
2008-08-31 06:44:10 -04:00
MODULES= x11/tk
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/bwidget
cd ${WRKSRC} && tar cf - * | tar -C ${PREFIX}/lib/bwidget -xf -
cd ${PREFIX}/lib/bwidget && rm -rf BWman *.txt ChangeLog
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/bwidget
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bwidget
${INSTALL_DATA} ${WRKSRC}/BWman/* ${WRKSRC}/README.txt \
${PREFIX}/share/doc/bwidget
.include <bsd.port.mk>