Created
October 24, 2012 12:16
-
-
Save anonymous/3945756 to your computer and use it in GitHub Desktop.
Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $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