openbsd-ports/misc/rpm/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

2011-04-17 14:19:37 -04:00
# $OpenBSD: Makefile,v 1.24 2011/04/17 18:23:19 jasper Exp $
2010-11-11 06:16:03 -05:00
COMMENT = redhat package manager
2010-11-11 06:16:03 -05:00
DISTNAME = rpm-3.0.6
2011-04-17 14:19:37 -04:00
REVISION = 5
2010-11-11 06:16:03 -05:00
SHARED_LIBS = rpm 0.1 \
rpmbuild 0.0
2010-11-11 06:16:03 -05:00
CATEGORIES = misc archivers emulators
2010-11-11 06:16:03 -05:00
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
2010-11-05 04:24:49 -04:00
2010-11-11 06:16:03 -05:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2010-11-11 06:16:03 -05:00
HOMEPAGE = http://www.rpm.org/
MASTER_SITES = ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
2006-07-13 13:39:19 -04:00
ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
2010-11-11 06:16:03 -05:00
MODULES = devel/gettext
WANTLIB += bz2 c popt z
2010-11-19 02:23:05 -05:00
LIB_DEPENDS += archivers/bzip2 \
devel/popt
2010-11-11 06:16:03 -05:00
USE_LIBTOOL = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC} ${WRKSRC}/popt
2010-11-11 06:16:03 -05:00
RPM_INTEL = RPMS/i386
SUBST_VARS = RPM_INTEL
# Enforce check for pgp, so no build-time depend is needed
2010-11-11 06:16:03 -05:00
CONFIGURE_ENV = PGPBIN=$(LOCALBASE)/bin/pgp
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -liconv"
CONFIGURE_ENV += varprefix=/var
2010-11-11 06:16:03 -05:00
SEPARATE_BUILD = simple
.include <bsd.port.mk>