blob: 0a28ff039432ae6f6e32353aa51540b3e9d937ab (
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
|
# $NetBSD: Makefile,v 1.18 2017/08/01 16:59:09 wiz Exp $
DISTNAME= dmake-4.12.2
CATEGORIES= devel
MASTER_SITES= http://dmake.apache-extras.org.codespot.com/files/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/mohawk2/dmake
COMMENT= Portable make supported by many platforms
LICENSE= gnu-gpl-v1
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/dmake
TEST_TARGET= check
INSTALLATION_DIRS= bin share/dmake ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
PLIST_SUBST+= STARTUPOS=solaris
.elif ${OPSYS} == "Darwin"
PLIST_SUBST+= STARTUPOS=macosx
.else
PLIST_SUBST+= STARTUPOS=linux
.endif
pre-test:
${SH} -c 'for a in 1 2 3 4 5 6 7 8 9 10 11 12;\
do ${CHMOD} u+x ${WRKSRC}/tests/targets-$$a ;done'
pre-install:
${INSTALL_MAN} ${WRKSRC}/man/dmake.tf \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmake.1
.include "../../mk/bsd.pkg.mk"
|