Pullup ticket #3480 - requested by obache
[pkgsrcv2.git] / devel / rx / Makefile
1 # $NetBSD: Makefile,v 1.22 2008/04/04 15:24:56 joerg Exp $
2
3 DISTNAME=       rx-1.5
4 PKGREVISION=    2
5 CATEGORIES=     devel
6 MASTER_SITES=   #
7 EXTRACT_SUFX=   .tar.bz2
8
9 MAINTAINER=     pkgsrc-users@NetBSD.org
10 HOMEPAGE=       http://www.gnu.org/software/rx/rx.html
11 COMMENT=        Fast replacement for the GNU regex library
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 USE_LIBTOOL=    yes
16 GNU_CONFIGURE=  yes
17 INFO_FILES=     # PLIST
18
19 # When the API changes and breaks binary-compatibility with the previous
20 # version, increment the MAJOR by 1 and reset the MINOR to 0.  Otherwise,
21 # bump the MINOR when a new version comes out.
22 #
23 RX_MAJOR=       0
24 RX_MINOR=       0
25 MAKE_ENV+=      RX_MAJOR=${RX_MAJOR:Q} RX_MINOR=${RX_MINOR:Q}
26
27 INSTALLATION_DIRS=      ${PKGINFODIR}
28
29 post-install:
30         cd ${WRKSRC}/doc; for f in rx.info rx.info-[0-9]*; do           \
31                 ${TEST} ! -f "$$f" ||                                   \
32                 ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};        \
33         done
34
35 .include "../../mk/bsd.pkg.mk"