summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2021-01-15 15:37:59 +0000
committermef <mef@pkgsrc.org>2021-01-15 15:37:59 +0000
commitfee589830d5f8bf128716a05439cbf646770bc1d (patch)
tree535b3ac8c51f1cd98ae2d573937cb56427da9e3c
parent383f77308c4fce742645b0998cb42c2f1658d8f2 (diff)
downloadpkgsrc-fee589830d5f8bf128716a05439cbf646770bc1d.tar.gz
(www/ap22-auth-ofba) Adhoc fix for packaging
-rw-r--r--www/ap22-auth-ofba/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/www/ap22-auth-ofba/Makefile b/www/ap22-auth-ofba/Makefile
index 30446b63f9d..4e5f5d00baf 100644
--- a/www/ap22-auth-ofba/Makefile
+++ b/www/ap22-auth-ofba/Makefile
@@ -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 @@ COMMENT= MS-OFBA authentication
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 @@ MODULE_EXT= la
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"