pkgsrc/devel/vtcl/Makefile
joerg 3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2008/05/26 02:13:18 joerg Exp $
DISTNAME= vtcl-1.6.0
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vtcl/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vtcl.sourceforge.net/
COMMENT= Visual Tcl/Tk application development environment
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pax
HAS_CONFIGURE= yes
NO_BUILD= yes
VTCLDIR= ${PREFIX}/lib/vtcl
VTCLDOCDIR= ${PREFIX}/share/doc/vtcl
VTCLEGDIR= ${PREFIX}/share/examples/vtcl
CONFIGURE_ARGS+= --libdir ${VTCLDIR}
do-install:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT_DIR} ${DESTDIR}${VTCLDIR}
${INSTALL_SCRIPT_DIR} ${DESTDIR}${VTCLDOCDIR}
${INSTALL_SCRIPT_DIR} ${DESTDIR}${VTCLEGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/vtcl ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/vtcl.tcl ${DESTDIR}${VTCLDIR}
cd ${WRKSRC} && pax -rwpam lib ${DESTDIR}${VTCLDIR}
cd ${WRKSRC} && pax -rwpam images ${DESTDIR}${VTCLDIR}
cd ${WRKSRC} && pax -rwpam doc ${DESTDIR}${VTCLDOCDIR}
cd ${WRKSRC} && pax -rwpam demo ${DESTDIR}${VTCLEGDIR}
cd ${WRKSRC} && pax -rwpam sample ${DESTDIR}${VTCLEGDIR}
.include "options.mk"
.include "../../mk/bsd.pkg.mk"