openbsd-ports/misc/rpm/Makefile
pvalchev be54d47d8c CONFIGURE_STYLE=gnu w/ proper MODGNU_CONFIG_GUESS_DIRS
needed for the powerpc -> macppc name change
2001-09-28 06:02:12 +00:00

38 lines
944 B
Makefile

# $OpenBSD: Makefile,v 1.9 2001/09/28 06:02:14 pvalchev Exp $
COMMENT= "redhat package manager"
PKGNAME= ${DISTNAME}p1
DISTNAME= rpm-3.0.6
CATEGORIES= misc archivers emulators
NEED_VERSION= 1.402
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
MAINTAINER= Marc Espie <espie@openbsd.org>
HOMEPAGE= http://www.rpm.org/
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
LIB_DEPENDS= bz2.::archivers/bzip2
LIB_DEPENDS+= intl.::devel/gettext
LIB_DEPENDS+= popt.0.::devel/popt
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/popt
# Enforce check for pgp, so no build-time depend is needed
CONFIGURE_ENV= PGPBIN=$(LOCALBASE)/bin/pgp
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ENV+= varprefix=/var
MAKE_FLAGS= librpm_la_LDFLAGS='-version-info 0:1:0'
SEPARATE_BUILD= simple
.include <bsd.port.mk>