3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
39 lines
802 B
Makefile
39 lines
802 B
Makefile
# $NetBSD: Makefile,v 1.12 2005/07/16 01:19:23 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= Archive-0.1.2
|
|
PKGNAME= rox-archive-0.1.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= rxg@NetBSD.org
|
|
HOMEPAGE= http://rox.sourceforge.net/
|
|
COMMENT= Simple archiver
|
|
|
|
# no real libraries there
|
|
DEPENDS+= rox-lib>=0.1.4nb1:../../sysutils/rox-lib
|
|
|
|
WRKSRC= ${WRKDIR}/Archive
|
|
DIST_SUBDIR= rox
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
APPDIR= ${PREFIX}/share/rox
|
|
|
|
INSTALLATION_DIRS= share
|
|
|
|
post-patch:
|
|
${CP} ${WRKSRC}/AppRun ${WRKSRC}/AppRun.1
|
|
${SED} -e s:@APPDIR@:"${APPDIR}":g < ${WRKSRC}/AppRun.1 \
|
|
> ${WRKSRC}/AppRun
|
|
${RM} ${WRKSRC}/AppRun.1 ${WRKSRC}/AppRun.orig
|
|
|
|
do-install:
|
|
${CP} -Rf ${WRKSRC} ${APPDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|