Skip to content

Instantly share code, notes, and snippets.

Created October 24, 2012 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3945756 to your computer and use it in GitHub Desktop.
Save anonymous/3945756 to your computer and use it in GitHub Desktop.
Makefile
# $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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment