summaryrefslogtreecommitdiff
path: root/devel/papaya/Makefile
blob: c896be9df19936849946875100b7cbc61d9301f5 (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.23 2008/06/12 02:14:27 joerg Exp $
#

DISTNAME=	papaya-0.1.7
PKGREVISION=	6
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=papaya-utils/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sourceforge.net/projects/papaya-utils/
COMMENT=	Simple scripts for software development

PKG_INSTALLATION_TYPES=	overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	# none, not even C
GNU_CONFIGURE=	YES
CONFIGURE_ENV+=	gzip_command=${TOOLS_GZIP_CMD:Q}
CONFIGURE_ENV+=	sh_command=${TOOLS_SH:Q}
CONFIGURE_ENV+=	tar_command=${TOOLS_TAR:Q}
CONFIGURE_ENV+=	texi2html_command=${TOOLS_PATH.texi2html:Q}
CONFIGURE_ENV+=	gmake_command=${TOOLS_PATH.gmake}
USE_TOOLS+=	sh perl:run tar texi2html gmake:run gzip:run
INFO_FILES=	# PLIST

CONFIGURE_ENV+=	perl_command=${PERL5:Q}

pre-configure:
	cd ${WRKSRC}/src &&						\
	${CP} detab.in detab.in.cr &&					\
	${TR} -d '\r' < detab.in.cr > detab.in

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DESTDIR}${PREFIX}/share/doc/papaya

.include "../../mk/bsd.pkg.mk"