example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
29 lines
731 B
Makefile
29 lines
731 B
Makefile
# $NetBSD: Makefile,v 1.19 2005/12/05 20:50:07 rillig Exp $
|
|
|
|
DISTNAME= rx-1.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= #
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@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= rx.info
|
|
|
|
# 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}
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${INFO_FILES} ${PREFIX}/info
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|