target post-install informs now about "make certificate"

make certificate creates an own temporary certificate
	cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} $@
and installs it into the suitable location:
	cp ${WRKSRC}/SSLconf/conf/httpsd.pem ${PREFIX}/certs/cert.pem
This commit is contained in:
Andreas Klemm 1997-08-16 16:01:10 +00:00
parent 2ebbc542f4
commit dbd3f40cc2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7608

View File

@ -3,7 +3,7 @@
# Date created: 15th August 1997
# Whom: Richard Seaman <dick@tar.com>
#
# $Id: Makefile,v 1.37 1997/08/15 15:44:27 markm Exp $
# $Id: Makefile,v 1.38 1997/08/16 04:45:27 peter Exp $
DISTNAME= apache_1.2.1
PKGNAME= apacheSSL-1.2.1
@ -38,6 +38,8 @@ post-install:
echo "[ -x /usr/local/sbin/httpsd ] && /usr/local/sbin/httpsd && echo -n ' httpsd'" >> ${PREFIX}/etc/rc.d/apache_ssl.sh; \
chmod 751 ${PREFIX}/etc/rc.d/apache_ssl.sh; \
fi
@echo "Please note: in order to install a certificate you have to type:"
@echo " make certificate"
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
pre-fetch:
@ -53,4 +55,8 @@ pre-build:
.endif
.endif
certificate:
cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} $@
cp ${WRKSRC}/SSLconf/conf/httpsd.pem ${PREFIX}/certs/cert.pem
.include <bsd.port.mk>