public
anonymous / Makefile.txt
Created

Makefile

  • Download Gist
Makefile.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# $NetBSD$
 
DISTNAME= PACKAGE_NAME-1
CATEGORIES= sysutils
MASTER_SITES= http://PACKAGE_NAME.com/
 
MAINTAINER= support@PACKAGE_NAME.com
COMMENT= PACKAGE_NAME system monitoring tool
LICENSE= apache-2.0
 
NO_BUILD= yes
NO_CONFIGURE= yes
USE_TOOLS+= perl
PKG_DESTDIR_SUPPORT=destdir
 
RCD_SCRIPTS= PACKAGE_NAME
 
do-install:
cp -R ${WRKSRC}/ ${DESTDIR}/${PREFIX}/PACKAGE_NAME
mkdir -p ${DESTDIR}/etc/rc.d
 
post-install:
@cp ${DESTDIR}/${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/PACKAGE_NAME ${DESTDIR}/etc/rc.d
@chmod 755 ${DESTDIR}/etc/rc.d/PACKAGE_NAME
 
.include "../../mk/bsd.pkg.mk"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.