pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap22-auth-ofba (www/ap22-auth-ofba) Adhoc fix for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99f7e9aba514
branches:  trunk
changeset: 444984:99f7e9aba514
user:      mef <mef%pkgsrc.org@localhost>
date:      Fri Jan 15 15:37:59 2021 +0000

description:
(www/ap22-auth-ofba) Adhoc fix for packaging

diffstat:

 www/ap22-auth-ofba/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 29bc59c696de -r 99f7e9aba514 www/ap22-auth-ofba/Makefile
--- a/www/ap22-auth-ofba/Makefile       Fri Jan 15 14:33:52 2021 +0000
+++ b/www/ap22-auth-ofba/Makefile       Fri Jan 15 15:37:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/05/25 05:55:14 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2021/01/15 15:37:59 mef Exp $
 
 DISTNAME=      mod_auth_ofba-0.6
 PKGNAME=       ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/g}
@@ -11,7 +11,7 @@
 LICENSE=       original-bsd
 
 USE_LIBTOOL=           yes
-USE_TOOLS+=            pkg-config
+USE_TOOLS+=            pkg-config gmake
 GNU_CONFIGURE=         yes
 USE_APR=               yes
 GNU_CONFIGURE_APXS2=   no
@@ -24,8 +24,12 @@
 DOC_DIR=               share/doc/mod_auth_ofba
 INSTALLATION_DIRS+=    sbin ${DOC_DIR}
 
-do-install:
-       cd ${WRKSRC} && ${MAKE} install DESTDIR=${DESTDIR}
+# ofba_session is not build by just make
+post-build:
+       cd ${WRKSRC} && ${GMAKE}
+       
+post-install:
+       cd ${WRKSRC} && ${INSTALL_PROGRAM} ofba_session ${DESTDIR}${PREFIX}/sbin
        cd ${WRKSRC} && ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/${DOC_DIR}/
 
 .include "../../mk/apache.module.mk"



Home | Main Index | Thread Index | Old Index