2007-09-15 19:54:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2007/09/15 23:54:17 merdely Exp $
|
2001-05-05 22:29:37 -04:00
|
|
|
|
2007-09-15 19:54:16 -04:00
|
|
|
COMMENT= redhat package manager
|
2000-06-12 14:49:41 -04:00
|
|
|
|
2006-01-14 15:27:11 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2000-12-06 04:45:02 -05:00
|
|
|
DISTNAME= rpm-3.0.6
|
2006-01-14 15:27:11 -05:00
|
|
|
SHARED_LIBS= rpm 0.1 \
|
|
|
|
rpmbuild 0.0
|
2000-06-12 14:49:41 -04:00
|
|
|
CATEGORIES= misc archivers emulators
|
|
|
|
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2004-12-22 01:31:05 -05:00
|
|
|
WANTLIB= c z
|
2000-06-12 14:49:41 -04:00
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2000-06-12 14:49:41 -04:00
|
|
|
|
|
|
|
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/
|
2000-06-12 14:49:41 -04:00
|
|
|
|
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
|
2000-06-12 14:49:41 -04:00
|
|
|
|
2005-11-03 08:18:23 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2000-06-12 14:49:41 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-09-28 02:02:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/popt
|
2000-06-12 14:49:41 -04:00
|
|
|
|
2006-01-14 15:27:11 -05:00
|
|
|
RPM_INTEL= RPMS/i386
|
|
|
|
SUBST_VARS= RPM_INTEL
|
|
|
|
|
2000-06-12 14:49:41 -04:00
|
|
|
# Enforce check for pgp, so no build-time depend is needed
|
|
|
|
CONFIGURE_ENV= PGPBIN=$(LOCALBASE)/bin/pgp
|
2000-12-06 04:45:02 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
|
2005-11-03 08:18:23 -05:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -liconv"
|
2000-06-12 14:49:41 -04:00
|
|
|
CONFIGURE_ENV+= varprefix=/var
|
2000-12-06 04:45:02 -05:00
|
|
|
|
2000-06-12 14:49:41 -04:00
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|