2001-09-23 15:27:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2001/09/23 19:27:15 naddy Exp $
|
2001-05-05 22:29:37 -04:00
|
|
|
|
|
|
|
COMMENT= "redhat package manager"
|
2000-06-12 14:49:41 -04:00
|
|
|
|
2001-09-23 15:27:15 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2000-12-06 04:45:02 -05:00
|
|
|
DISTNAME= rpm-3.0.6
|
2000-06-12 14:49:41 -04:00
|
|
|
CATEGORIES= misc archivers emulators
|
2001-05-05 22:29:37 -04:00
|
|
|
NEED_VERSION= 1.402
|
2000-06-12 14:49:41 -04:00
|
|
|
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
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/
|
|
|
|
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
|
|
|
|
|
|
|
LIB_DEPENDS= bz2.::archivers/bzip2
|
|
|
|
LIB_DEPENDS+= intl.::devel/gettext
|
2000-10-22 15:33:27 -04:00
|
|
|
LIB_DEPENDS+= popt.0.::devel/popt
|
2000-06-12 14:49:41 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
|
|
|
# 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
|
|
|
|
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
|
2000-06-12 14:49:41 -04:00
|
|
|
CONFIGURE_ENV+= varprefix=/var
|
2000-12-06 04:45:02 -05:00
|
|
|
|
2001-03-07 11:09:36 -05:00
|
|
|
MAKE_FLAGS= librpm_la_LDFLAGS='-version-info 0:1:0'
|
2000-12-06 04:45:02 -05:00
|
|
|
|
2000-06-12 14:49:41 -04:00
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|