2010-08-30 13:11:35 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2010/08/30 17:11:35 fgsch 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
|
2010-08-30 13:11:35 -04:00
|
|
|
REVISION = 2
|
2006-11-12 13:17:53 -05:00
|
|
|
DISTFILES= ${DISTNAME}.py
|
|
|
|
CATEGORIES= misc
|
2010-01-30 14:08:30 -05:00
|
|
|
MASTER_SITES= http://openbsddistfiles.org/jolan/
|
2006-11-12 13:17:53 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://scott.weston.id.au/software/pymissile-20060126/
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
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>
|