pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Revert nonsensical changes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bd7b172bc68
branches:  trunk
changeset: 356158:5bd7b172bc68
user:      asau <asau%pkgsrc.org@localhost>
date:      Mon Dec 19 15:57:11 2016 +0000

description:
Revert nonsensical changes.

diffstat:

 databases/squirrelsql/Makefile |  18 +++++++++---------
 time/projectlibre/Makefile     |  14 +++++++-------
 2 files changed, 16 insertions(+), 16 deletions(-)

diffs (87 lines):

diff -r 2d68c165f474 -r 5bd7b172bc68 databases/squirrelsql/Makefile
--- a/databases/squirrelsql/Makefile    Mon Dec 19 15:43:42 2016 +0000
+++ b/databases/squirrelsql/Makefile    Mon Dec 19 15:57:11 2016 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2016/12/17 13:29:39 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2016/12/19 15:57:11 asau Exp $
 
 DISTNAME=      squirrelsql-3.7-standard
 PKGNAME=       squirrelsql-3.7
 CATEGORIES=    databases
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=squirrel-sql/}
+MASTER_SITES=  $(MASTER_SITE_SOURCEFORGE:=squirrel-sql/)
 EXTRACT_SUFX=  .zip
 
 MAINTAINER=    asau%inbox.ru@localhost
@@ -14,24 +14,24 @@
 SUBST_STAGE.set-java=          pre-configure
 SUBST_MESSAGE.set-java=                Setting JAVA_HOME path.
 SUBST_FILES.set-java=          squirrel-sql.sh
-SUBST_SED.set-java=            -e 's,%JAVA_HOME,${PKG_JAVA_HOME},g'
+SUBST_SED.set-java=            -e 's,%JAVA_HOME,$(PKG_JAVA_HOME),g'
 
 SUBST_STAGE.set-base=          pre-configure
 SUBST_MESSAGE.set-base=                Setting package base path.
 SUBST_FILES.set-base=          squirrel-sql.sh
-SUBST_SED.set-base=            -e 's,@SQUIRREL_SQL_HOME@,${PREFIX}/share/${PKGBASE},g'
+SUBST_SED.set-base=            -e 's,@SQUIRREL_SQL_HOME@,$(PREFIX)/share/$(PKGBASE),g'
 
 USE_JAVA=      run
 USE_JAVA2=     6
 NO_BUILD=      yes
 
-INSTALLATION_DIRS=     bin share/${PKGBASE}
+INSTALLATION_DIRS=     bin share/$(PKGBASE)
 
 do-install:
-       cd ${WRKSRC} && pax -rwpm . ${DESTDIR}${PREFIX}/share/${PKGBASE}
-       ${RM} -f ${DESTDIR}${PREFIX}/share/${PKGBASE}/squirrel-sql.sh.orig
-       ${CHMOD} +x ${DESTDIR}${PREFIX}/share/${PKGBASE}/squirrel-sql.sh
-       ${LN} -sf ${PREFIX}/share/${PKGBASE}/squirrel-sql.sh ${DESTDIR}${PREFIX}/bin/squirrel-sql
+       cd $(WRKSRC) && pax -rwpm . $(DESTDIR)$(PREFIX)/share/$(PKGBASE)
+       $(RM) -f $(DESTDIR)$(PREFIX)/share/$(PKGBASE)/squirrel-sql.sh.orig
+       $(CHMOD) +x $(DESTDIR)$(PREFIX)/share/$(PKGBASE)/squirrel-sql.sh
+       $(LN) -sf $(PREFIX)/share/$(PKGBASE)/squirrel-sql.sh $(DESTDIR)$(PREFIX)/bin/squirrel-sql
 
 .include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d68c165f474 -r 5bd7b172bc68 time/projectlibre/Makefile
--- a/time/projectlibre/Makefile        Mon Dec 19 15:43:42 2016 +0000
+++ b/time/projectlibre/Makefile        Mon Dec 19 15:57:11 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2016/12/17 13:44:02 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2016/12/19 16:01:19 asau Exp $
 
 DISTNAME=      projectlibre-1.6.1
 CATEGORIES=    time
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=projectlibre/}
+MASTER_SITES=  $(MASTER_SITE_SOURCEFORGE:=projectlibre/)
 
 MAINTAINER=    asau%inbox.ru@localhost
 HOMEPAGE=      http://www.projectlibre.org/
@@ -18,20 +18,20 @@
 SUBST_STAGE.set-java=          post-configure
 SUBST_MESSAGE.set-java=                Setting Java path.
 SUBST_FILES.set-java=          projectlibre.sh
-SUBST_SED.set-java=            -e '/^JAVA_EXE=/s,java,${PKG_JAVA_HOME}/bin/java,'
+SUBST_SED.set-java=            -e '/^JAVA_EXE=/s,java,$(PKG_JAVA_HOME)/bin/java,'
 
 SUBST_STAGE.set-base=          post-configure
 SUBST_MESSAGE.set-base=                Setting package base path.
 SUBST_FILES.set-base=          projectlibre.sh
-SUBST_SED.set-base=            -e '/^OPENPROJ_HOME0=/s,^.*$$,OPENPROJ_HOME0=${PREFIX}/share/${PKGBASE},'
+SUBST_SED.set-base=            -e '/^OPENPROJ_HOME0=/s,^.*$$,OPENPROJ_HOME0=$(PREFIX)/share/$(PKGBASE),'
 
 NO_BUILD=      yes
 
-INSTALLATION_DIRS=     bin share/${PKGBASE}
+INSTALLATION_DIRS=     bin share/$(PKGBASE)
 
 do-install:
-       cd ${WRKSRC} && pax -rwpm . ${DESTDIR}${PREFIX}/share/${PKGBASE}
-       ${LN} -sf ${PREFIX}/share/${PKGBASE}/projectlibre.sh ${DESTDIR}${PREFIX}/bin/projectlibre
+       cd $(WRKSRC) && pax -rwpm . $(DESTDIR)$(PREFIX)/share/$(PKGBASE)
+       $(LN) -sf $(PREFIX)/share/$(PKGBASE)/projectlibre.sh $(DESTDIR)$(PREFIX)/bin/projectlibre
 
 .include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index