openbsd-ports/x11/bwidget/Makefile
2009-03-11 21:37:27 +00:00

39 lines
883 B
Makefile

# $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
PKGNAME= bwidget-$Vp1
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/}
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>