blob: 7b44de1bfe08c9f80aa50692028d521d1f7ef2cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.10 2011/04/22 13:43:39 obache Exp $
#
DISTNAME= stegavorto-src-2009.01.22
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 6
CATEGORIES= games
MASTER_SITES= http://hamsterrepublic.com/games/stegavorto/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://james.hamsterrepublic.com/?p=130
COMMENT= Discover secret messages embedded in the works of great authors
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/stegavorto-src
USE_LANGUAGES= # none
INSTALLATION_DIRS= bin share/stegavorto/data
do-build:
${ECHO} "#!/bin/sh" > ${WRKSRC}/stegavorto
${ECHO} "cd ${PREFIX}/share/stegavorto && ${PYTHONBIN} stegavorto.py" >> ${WRKSRC}/stegavorto
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/stegavorto ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/stegavorto.py \
${DESTDIR}${PREFIX}/share/stegavorto
${INSTALL_DATA} ${WRKSRC}/data/* \
${DESTDIR}${PREFIX}/share/stegavorto/data
.include "../../devel/py-game/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|