pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang lang/php: post-install clean up



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ee6ddb6af3b
branches:  trunk
changeset: 387449:2ee6ddb6af3b
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Oct 30 10:50:01 2022 +0000

description:
lang/php: post-install clean up

Do not manually install executable files and manual.
These are already done by php's Makefile from some time ago.

diffstat:

 lang/php56/Makefile |  10 +++++-----
 lang/php74/Makefile |   6 +-----
 lang/php80/Makefile |   6 +-----
 lang/php81/Makefile |   6 +-----
 4 files changed, 8 insertions(+), 20 deletions(-)

diffs (84 lines):

diff -r ec6875d5e277 -r 2ee6ddb6af3b lang/php56/Makefile
--- a/lang/php56/Makefile       Sun Oct 30 10:37:34 2022 +0000
+++ b/lang/php56/Makefile       Sun Oct 30 10:50:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2022/04/18 19:09:56 adam Exp $
+# $NetBSD: Makefile,v 1.30 2022/10/30 10:50:01 taca Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -49,10 +49,10 @@
 .endif
 
 post-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
-       ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php
+#      ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
+#      ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
+#              ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1
+#      ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php
        cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \
                ${DESTDIR}${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR}${PREFIX}/share/php
diff -r ec6875d5e277 -r 2ee6ddb6af3b lang/php74/Makefile
--- a/lang/php74/Makefile       Sun Oct 30 10:37:34 2022 +0000
+++ b/lang/php74/Makefile       Sun Oct 30 10:50:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/06/09 15:00:38 taca Exp $
+# $NetBSD: Makefile,v 1.17 2022/10/30 10:50:01 taca Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -66,10 +66,6 @@
 .endif
 
 post-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
-       ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php
        cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \
                ${DESTDIR}${EGDIR}
 
diff -r ec6875d5e277 -r 2ee6ddb6af3b lang/php80/Makefile
--- a/lang/php80/Makefile       Sun Oct 30 10:37:34 2022 +0000
+++ b/lang/php80/Makefile       Sun Oct 30 10:50:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/06/10 00:00:07 taca Exp $
+# $NetBSD: Makefile,v 1.10 2022/10/30 10:50:01 taca Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -66,10 +66,6 @@
 .endif
 
 post-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
-       ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php
        cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \
                ${DESTDIR}${EGDIR}
 
diff -r ec6875d5e277 -r 2ee6ddb6af3b lang/php81/Makefile
--- a/lang/php81/Makefile       Sun Oct 30 10:37:34 2022 +0000
+++ b/lang/php81/Makefile       Sun Oct 30 10:50:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/06/09 15:10:50 taca Exp $
+# $NetBSD: Makefile,v 1.8 2022/10/30 10:50:01 taca Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -66,10 +66,6 @@
 .endif
 
 post-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
-       ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1
-       ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php
        cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \
                ${DESTDIR}${EGDIR}
 



Home | Main Index | Thread Index | Old Index