[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / kenigma

File: [cvs.NetBSD.org] / pkgsrc / emulators / kenigma / Attic / Makefile (download)

Revision 1.21, Thu Jun 14 07:44:13 2012 UTC (10 years, 7 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.20: +2 -2 lines

Recursive PKGREVISION bump for libxml2 buildlink addition.

# $NetBSD: Makefile,v 1.21 2012/06/14 07:44:13 sbd Exp $

DISTNAME=	28107-kenigma-1.2.1
PKGNAME=	kenigma-1.2.1
PKGREVISION=	19
CATEGORIES=	emulators security
MASTER_SITES=	http://www.kde-apps.org/content/files/

MAINTAINER=	markd@NetBSD.org
HOMEPAGE=	http://www.kde-apps.org/content/show.php?content=28107
COMMENT=	Replica of the German enigma code machine used in WW2

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/kenigma

NO_CONFIGURE=	yes
USE_LANGUAGES=	# none

APPDIR=		${KDEDIR}/share/kde/apps/kenigma

INSTALLATION_DIRS=	bin ${KDEDIR}/share/applications/kde

do-build:
	(cd ${WRKSRC}; \
	${ECHO} "#!/bin/sh"; \
	${ECHO} "cd ${APPDIR} && ${RUBY} main.rb") > ${WRKSRC}/kenigma

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/kenigma ${DESTDIR}${KDEDIR}/bin
	${INSTALL_DATA} ${WRKSRC}/kenigma.desktop \
		${DESTDIR}${KDEDIR}/share/applications/kde
	${INSTALL_DATA_DIR} ${DESTDIR}${APPDIR}
	${INSTALL_DATA} ${WRKSRC}/*.rb ${DESTDIR}${APPDIR}
	${INSTALL_DATA} ${WRKSRC}/kenigma.dtd ${DESTDIR}${APPDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${APPDIR}


.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../lang/ruby/buildlink3.mk"
.include "../../x11/kdebindings-ruby/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"