openbsd-ports/misc/rpm/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.19 2007/09/15 23:54:17 merdely Exp $
COMMENT= redhat package manager
PKGNAME= ${DISTNAME}p4
DISTNAME= rpm-3.0.6
SHARED_LIBS= rpm 0.1 \
rpmbuild 0.0
CATEGORIES= misc archivers emulators
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c z
2000-10-09 20:40:20 -04:00
MAINTAINER= Marc Espie <espie@openbsd.org>
HOMEPAGE= http://www.rpm.org/
2006-07-13 13:39:19 -04:00
MASTER_SITES= ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
2004-08-10 05:48:17 -04:00
MODULES= devel/gettext
2006-08-03 16:04:51 -04:00
LIB_DEPENDS+= bz2::archivers/bzip2 \
popt::devel/popt
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/popt
RPM_INTEL= RPMS/i386
SUBST_VARS= RPM_INTEL
# 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 -liconv"
CONFIGURE_ENV+= varprefix=/var
SEPARATE_BUILD= simple
.include <bsd.port.mk>