# $NetBSD: Makefile,v 1.24 2002/05/25 15:04:04 hubertf Exp $ # DISTNAME= vfu-3.04 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/file/managers/} \ http://www.biscom.net/~cade/vfu/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.biscom.net/~cade/away/vfu/ COMMENT= Small, handy, easy-to-use file manager USE_BUILDLINK_ONLY= # defined #USE_PERL5= # defined DOCDIR= ${PREFIX}/share/doc/vfu EGDIR= ${PREFIX}/share/examples/vfu DEINSTALL_FILE= ${WRKDIR}/DEINSTALL INSTALL_FILE= ${WRKDIR}/INSTALL FILES_SUBST= CAT=${CAT:Q} FILES_SUBST+= CHMOD=${CHMOD:Q} FILES_SUBST+= CMP=${CMP:Q} FILES_SUBST+= CP=${CP:Q} FILES_SUBST+= RM=${RM:Q} FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} do-build: cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${SH} build.netbsd pre-install: ${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} ${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE} do-install: cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${SH} install post-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR} cd ${WRKSRC}; \ ${INSTALL_DATA} COPYING INSTALL CONFIG FAQ HISTORY NOTES README \ README.DOS THANKS.TO TODO XWINDOW.NOTES ${DOCDIR} cd ${WRKSRC}; \ ${INSTALL_DATA} ${WRKSRC}/vfu.conf ${EGDIR}/vfurc PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL .include "../../devel/ncurses/buildlink.mk" .include "../../lang/perl5/buildlink.mk" .include "../../mk/bsd.pkg.mk"