openbsd-ports/misc/pymissile/Makefile
2010-09-26 20:08:11 +00:00

34 lines
747 B
Makefile

# $OpenBSD: Makefile,v 1.9 2010/09/26 20:08:12 martynas Exp $
COMMENT= usb missile launcher control script
DISTNAME= pymissile-20061111
REVISION = 3
DISTFILES= ${DISTNAME}.py
CATEGORIES= misc
MASTER_SITES= http://openbsddistfiles.com/jolan/
HOMEPAGE = http://code.google.com/p/pymissile/
# BSD
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
MODULES= lang/python
RUN_DEPENDS= :pyusb-*:devel/pyusb \
:py-urwid-*: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>