30 lines
704 B
Makefile
30 lines
704 B
Makefile
|
# $NetBSD: Makefile,v 1.1 2014/05/10 16:38:03 manu Exp $
|
||
|
#
|
||
|
|
||
|
DISTNAME= openstack_init-1.0
|
||
|
#PKGREVISION= 1
|
||
|
CATEGORIES= sysutils
|
||
|
MASTER_SITES= # none
|
||
|
DISTFILES= # none
|
||
|
|
||
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
||
|
COMMENT= Autoconfigure NetBSD VM on OpenStack
|
||
|
LICENSE= original-bsd
|
||
|
|
||
|
WRKSRC= ${WRKDIR}
|
||
|
NO_BUILD= yes
|
||
|
USE_LANGUAGES= # none
|
||
|
|
||
|
do-extract:
|
||
|
cd ${FILESDIR} && cp *.py *.sh ${WRKSRC}/
|
||
|
|
||
|
RCD_SCRIPTS= xen_network openstack_init
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/sbin
|
||
|
${INSTALL_SCRIPT} ${WRKSRC}/xen_network.py ${DESTDIR}${PREFIX}/sbin/
|
||
|
${INSTALL_SCRIPT} ${WRKSRC}/openstack_init.py ${DESTDIR}${PREFIX}/sbin/
|
||
|
|
||
|
.include "../../lang/python/application.mk"
|
||
|
.include "../../mk/bsd.pkg.mk"
|