2011-06-08 13:31:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2011/06/08 17:36:18 jasper Exp $
|
2006-11-12 13:17:53 -05:00
|
|
|
|
2007-09-15 19:54:16 -04:00
|
|
|
COMMENT= usb missile launcher control script
|
2006-11-12 13:17:53 -05:00
|
|
|
DISTNAME= pymissile-20061111
|
2011-06-08 13:31:05 -04:00
|
|
|
REVISION = 4
|
2006-11-12 13:17:53 -05:00
|
|
|
DISTFILES= ${DISTNAME}.py
|
|
|
|
CATEGORIES= misc
|
2011-04-25 11:01:28 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
2006-11-12 13:17:53 -05:00
|
|
|
|
2010-09-22 04:00:43 -04:00
|
|
|
HOMEPAGE = http://code.google.com/p/pymissile/
|
2006-11-12 13:17:53 -05:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2008-05-11 15:41:20 -04:00
|
|
|
MODULES= lang/python
|
2006-11-12 13:17:53 -05:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS= devel/pyusb \
|
|
|
|
devel/py-urwid
|
2006-11-12 13:17:53 -05:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@cp ${FULLDISTDIR}/${DISTFILES} ${WRKDIR}
|
|
|
|
@perl -pi -e 's|_MODPY_BIN_|${MODPY_BIN}|g' ${WRKDIR}/${DISTFILES}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${PREFIX}/bin/pymissile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|