blob: 9d7520e7b1e39f127d5de7a10db9f584428f32d9 (
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.15 2020/05/03 14:58:18 rillig Exp $
#
DISTNAME= arka-0.11
PKGREVISION= 2
CATEGORIES= biology
MASTER_SITES= http://www.bioinformatics.org/genpak/download/
EXTRACT_SUFX= .tgz
MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= https://www.bioinformatics.org/genpak/
COMMENT= Graphic interface for the programs from the GP package
DEPENDS+= gp-[0-9]*:../../biology/gp
CONF_FILES= ${PREFIX}/share/examples/arka/arkarc ${PKG_SYSCONFDIR}/arkarc
CPPFLAGS+= -DARKA_GLOBAL=\"${PKG_SYSCONFDIR}/arkarc\"
CPPFLAGS+= -DARKA_PROGRAMS=\"${PKG_SYSCONFDIR}/arkarc\"
# 2 harmless instances in genpak.c
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/pixmaps share/doc/arka \
share/examples/arka
USE_TOOLS+= gunzip
post-build:
cd ${WRKSRC} && ${GUNZIP_CMD} arka.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arka ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/arka.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.for f in arka_16x16.xpm arka_32x32.xpm
${INSTALL_DATA} ${WRKSRC}/icons/${f} ${DESTDIR}${PREFIX}/share/pixmaps
.endfor
.for f in CHANGES.TXT INSTALL.TXT LICENSE.TXT README.TXT TODO.TXT
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/arka
.endfor
${INSTALL_DATA} ${WRKSRC}/arkarc ${DESTDIR}${PREFIX}/share/examples/arka
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|