Add a new USE_LIBTOOL definition that uses the libtool package instead of pkglibtool which is now considered outdated. USE_PKGLIBTOOL is available for backwards compatibility with old packages but is deprecated for new packages.
26 lines
657 B
Makefile
26 lines
657 B
Makefile
# $NetBSD: Makefile,v 1.3 2000/06/01 11:23:25 rh Exp $
|
|
|
|
DISTNAME= rx-1.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=rx/}
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://www.gnu.org/software/rx/rx.html
|
|
|
|
USE_PKGLIBTOOL= 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}" RX_MINOR="${RX_MINOR}"
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${INFO_FILES} ${PREFIX}/info
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|