From 81fd93894b4d76957d77c4c205d090324c27e63f Mon Sep 17 00:00:00 2001
From: Olli Hauer <ohauer@FreeBSD.org>
Date: Fri, 30 May 2014 20:58:44 +0000
Subject: - use bsd.apache.mk framework for building   (remove Makefile patch)
 - add stage support   (remove pkg-plist)

PR:		190403
Submitted by:	Manuel Kasper <mk@neon1.net> (maintainer)
---
 www/mod_auth_pubtkt/Makefile                  |  8 ++++----
 www/mod_auth_pubtkt/files/patch-src__Makefile | 11 -----------
 www/mod_auth_pubtkt/pkg-plist                 |  4 ----
 3 files changed, 4 insertions(+), 19 deletions(-)
 delete mode 100644 www/mod_auth_pubtkt/files/patch-src__Makefile
 delete mode 100644 www/mod_auth_pubtkt/pkg-plist

(limited to 'www')

diff --git a/www/mod_auth_pubtkt/Makefile b/www/mod_auth_pubtkt/Makefile
index 279f5387c69a..924bb4f4bc42 100644
--- a/www/mod_auth_pubtkt/Makefile
+++ b/www/mod_auth_pubtkt/Makefile
@@ -11,10 +11,10 @@ DIST_SUBDIR=	apache2
 MAINTAINER=	mk@neon1.net
 COMMENT=	An Apache module to provide public key ticket based authentication
 
-
 USE_APACHE=	22+
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--apxs=${APXS}
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+AP_EXTRAS=	-DAPACHE22
+SRC_FILE=	src/mod_auth_pubtkt.c
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
diff --git a/www/mod_auth_pubtkt/files/patch-src__Makefile b/www/mod_auth_pubtkt/files/patch-src__Makefile
deleted file mode 100644
index 977172cb8f4f..000000000000
--- a/www/mod_auth_pubtkt/files/patch-src__Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./src/Makefile.orig	2010-05-26 18:53:55.551506119 -0400
-+++ ./src/Makefile	2010-05-26 18:54:21.855222621 -0400
-@@ -9,7 +9,7 @@
- 	$(APXS) -c -Wc,"-Wall -ansi $(CFLAGS)" -Wl,"$(LDFLAGS)" -l crypto $(MOD).c
- 
- install: $(TARGET)
--	$(APXS) -i $(TARGET)
-+	$(APXS) -i -a -n auth_pubtkt $(TARGET)
- 
- clean:
- 	-rm -f $(MOD).o $(MOD).so $(MOD).la $(MOD).lo $(MOD).slo
diff --git a/www/mod_auth_pubtkt/pkg-plist b/www/mod_auth_pubtkt/pkg-plist
deleted file mode 100644
index 8ba91ff77180..000000000000
--- a/www/mod_auth_pubtkt/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%APACHEMODDIR%%/%%AP_MODULE%%
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f
-@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f
-@unexec echo "===>  If you do not plan on reinstalling mod_auth_pubtkt, you must manually remove"; echo "===>  references to it in httpd.conf."
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0