blob: 572f95a7ad4556b5b0860d5a1c8e16f452ad7d33 (
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
|
# $NetBSD: Makefile,v 1.2 2010/01/27 18:46:39 joerg Exp $
#
DISTNAME= dmsdos-0.9.2.3-pre2
PKGNAME= dmsdos-0.9.2.3pre2
CATEGORIES= sysutils
MASTER_SITES= http://cmp.felk.cvut.cz/~pisa/dmsdos/sources/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cmp.felk.cvut.cz/~pisa/dmsdos/
COMMENT= Program to access DBLSPACE/DRVSPACE containers
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/dmsdos-0.9.2.3-pre2/src
F= mcdmsdos.c dblspace_dec.c lib_interface.c dblspace_interface.c \
dblspace_chk.c dblspace_tables.c dstacker_alloc.c dblspace_alloc.c \
dblspace_compr.c dstacker_compr.c dstacker_dec.c dblspace_methsq.c
INSTALLATION_DIRS= bin
post-extract:
find ${WRKDIR}/dmsdos-0.9.2.3-pre2 -type d -exec chmod +x {} \;
do-configure:
${CP} ${WRKSRC}/dmsdos-config.h.default ${WRKSRC}/dmsdos-config.h
do-build:
cd ${WRKSRC} && ${CC} -D__DMSDOS_LIB__ ${F} -o mcdmsdos
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mcdmsdos ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|