blob: 5a477cd292438fb1df3a42fe6bea45d6a94cdcc1 (
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
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.17 2011/03/17 21:45:30 zafer Exp $
DISTNAME= dgd-1.2p4
PKGNAME= dgd-1.2.0.4
PKGREVISION= 1
CATEGORIES= net games
MASTER_SITES= # ftp://ftp.dworkin.nl/pub/dgd/
MAINTAINER= sco@openface.ca
HOMEPAGE= http://www.dworkin.nl/dgd/
COMMENT= Object-oriented programmable server
LICENSE= fee-based-commercial-use
PKG_INSTALLATION_TYPES= overwrite pkgviews
MAKE_JOBS_SAFE= no
USE_TOOLS+= gtar
WRKSRC= ${WRKDIR}/dgd
BUILD_DIRS= src
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths and command names.
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= mud.dgd
SUBST_SED.paths= -e 's,/home/dworkin/,${PREFIX}/libdata/,g'
INSTALLATION_DIRS= libexec share/doc/dgd share/examples/dgd libdata/dgd/tmp
PKG_DESTDIR_SUPPORT= destdir
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/a.out ${DESTDIR}${PREFIX}/libexec/dgd
cd ${WRKDIR}/dgd && \
${INSTALL_DATA} Copyright Credits README ${DESTDIR}${PREFIX}/share/doc/dgd
${GTAR} cCf ${WRKDIR}/dgd/doc - . | ${GTAR} xCf \
${DESTDIR}${PREFIX}/share/doc/dgd -
${GTAR} cCf ${WRKDIR}/dgd - mud | ${GTAR} xCf ${DESTDIR}${PREFIX}/libdata/dgd -
${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/libdata/dgd \
${DESTDIR}${PREFIX}/share/doc/dgd
${INSTALL_DATA} ${WRKSRC}/mud.dgd ${DESTDIR}${PREFIX}/share/examples/dgd
.include "../../mk/bsd.pkg.mk"
|