diff options
Diffstat (limited to 'devel/aegis/Makefile')
-rw-r--r-- | devel/aegis/Makefile | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/devel/aegis/Makefile b/devel/aegis/Makefile index 4627ec4d41e..3ae616be117 100644 --- a/devel/aegis/Makefile +++ b/devel/aegis/Makefile @@ -1,37 +1,59 @@ -# $NetBSD: Makefile,v 1.18 2009/03/06 10:22:02 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2009/06/10 11:16:36 obache Exp $ # -DISTNAME= aegis-4.22 -PKGREVISION= 2 +DISTNAME= aegis-4.24.1 CATEGORIES= devel scm -MASTER_SITES= http://aegis.sourceforge.net/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aegis/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://aegis.sourceforge.net/ COMMENT= Aegis is a transaction base software configuration management system +LICENSE= gnu-gpl-v3 PKG_DESTDIR_SUPPORT= user-destdir MAKE_JOBS_SAFE= no -EXTRACT_USING= gtar - GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-nlsdir=${_PKGLOCALEDIR:Q} USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes -USE_TOOLS+= groff gsoelim msgfmt perl:run yacc patch +USE_TOOLS+= groff gsoelim msgfmt perl:run yacc patch:run + +.include "../../mk/bsd.prefs.mk" -CONFIGURE_ENV+= ac_cv_path_PATCH=${TOOLS_PATCH:Q} +AEGIS_USER_UID?= 3 +AEGIS_USER_GID?= 3 + +CONFIGURE_ARGS+= --with-nlsdir=${_PKGLOCALEDIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+= --with-no-aegis-configured +CONFIGURE_ARGS+= --sharedstatedir=${VARBASE}/run/aegis +CONFIGURE_ENV+= PATCH=${PATCH:Q} +CONFIGURE_ENV+= AEGIS_UID=${AEGIS_USER_UID:Q} +CONFIGURE_ENV+= AEGIS_GID=${AEGIS_USER_GID:Q} EGDIR= ${PREFIX}/share/examples/aegis -INSTALL_MAKE_FLAGS+= RPM_BUILD_ROOT=${DESTDIR} \ - sysconfdir=${EGDIR} +INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} CONF_FILES+= ${EGDIR}/profile.d/aegis.csh ${PKG_SYSCONFDIR}/profile.d/aegis.csh CONF_FILES+= ${EGDIR}/profile.d/aegis.sh ${PKG_SYSCONFDIR}/profile.d/aegis.sh +SPECIAL_PERMS+= bin/aegis ${SETUID_ROOT_PERMS} +SPECIAL_PERMS+= bin/aeimport ${SETUID_ROOT_PERMS} +SPECIAL_PERMS+= bin/aelock ${SETUID_ROOT_PERMS} + +OWN_DIRS_PERMS+= ${VARBASE}/run/aegis ${AEGIS_USER_UID} ${AEGIS_USER_GID} 2755 +MAKE_DIRS+= ${PKG_SYSCONFDIR}/profile.d + +BUILD_DEFS+= VARBASE AEGIS_USER_UID AEGIS_USER_GID + +TEST_TARGET= sure + AUTO_MKDIRS= yes +.include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../sysutils/file/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |