c4ab30e132
ok william@, "if it works, commit" ajacoutot@
43 lines
1007 B
Makefile
43 lines
1007 B
Makefile
# $OpenBSD: Makefile,v 1.6 2009/07/29 07:40:15 pea Exp $
|
|
|
|
COMMENT = Really Awesome New Cisco confIg Differ
|
|
|
|
DISTNAME = rancid-2.3.2
|
|
PKGNAME = ${DISTNAME}v0
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = http://www.shrubbery.net/rancid/
|
|
|
|
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
|
|
# Custom
|
|
PERMIT_PACKAGE_CDROM = "not for commercial use"
|
|
PERMIT_DISTFILES_CDROM ="not for commercial use"
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c util
|
|
|
|
MASTER_SITES = ftp://ftp.shrubbery.net/pub/rancid/
|
|
|
|
RUN_DEPENDS = ::lang/expect
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
AUTOMAKE_VERSION = 1.8
|
|
CONFIGURE_STYLE = automake
|
|
CONFIGURE_ARGS = --prefix=${PREFIX} \
|
|
--localstatedir=/var/rancid/ \
|
|
--disable-mk-localstatedir
|
|
|
|
USE_GMAKE = yes
|
|
|
|
pre-configure:
|
|
@cp ${FILESDIR}/fnlogin.in ${WRKSRC}/bin/fnlogin.in
|
|
|
|
post-install:
|
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD ${WRKBUILD}/README.OpenBSD
|
|
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \
|
|
${PREFIX}/share/doc/rancid/README.OpenBSD
|
|
|
|
.include <bsd.port.mk>
|