summaryrefslogtreecommitdiff
path: root/devel/rx/Makefile
blob: 33c44336a7c9b594e6e9f593a99f3531f410c8cb (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
# $NetBSD: Makefile,v 1.24 2012/10/31 11:19:43 asau Exp $

DISTNAME=	rx-1.5
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	#
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gnu.org/software/rx/rx.html
COMMENT=	Fast replacement for the GNU regex library

USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes
INFO_FILES=	# PLIST

# When the API changes and breaks binary-compatibility with the previous
# version, increment the MAJOR by 1 and reset the MINOR to 0.  Otherwise,
# bump the MINOR when a new version comes out.
#
RX_MAJOR=	0
RX_MINOR=	0
MAKE_ENV+=	RX_MAJOR=${RX_MAJOR:Q} RX_MINOR=${RX_MINOR:Q}

INSTALLATION_DIRS=	${PKGINFODIR}

post-install:
	cd ${WRKSRC}/doc; for f in rx.info rx.info-[0-9]*; do		\
		${TEST} ! -f "$$f" ||					\
		${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};	\
	done

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