openbsd-ports/misc/pymissile/Makefile
2013-03-11 11:20:26 +00:00

31 lines
630 B
Makefile

# $OpenBSD: Makefile,v 1.15 2013/03/11 11:23:58 espie Exp $
COMMENT= usb missile launcher control script
DISTNAME= pymissile-20061111
REVISION = 5
DISTFILES= ${DISTNAME}.py
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_BACKUP}
HOMEPAGE = http://code.google.com/p/pymissile/
# BSD
PERMIT_PACKAGE_CDROM= Yes
NO_BUILD= Yes
NO_TEST= Yes
MODULES= lang/python
RUN_DEPENDS= devel/pyusb \
devel/py-urwid
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>