summaryrefslogtreecommitdiffstats
path: root/databases/yasql
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-05-10 17:07:52 +0000
committerthierry <thierry@FreeBSD.org>2005-05-10 17:07:52 +0000
commit792762ba2a6025d5679043c3bcccd8138cffcdec (patch)
tree8fde5afafb8fb4d92dae604f3bd7d72317c5efaa /databases/yasql
parent5f86958f5986b002bcd66a68d86362999c50cf80 (diff)
downloadFreeBSD-ports-792762ba2a6025d5679043c3bcccd8138cffcdec.zip
FreeBSD-ports-792762ba2a6025d5679043c3bcccd8138cffcdec.tar.gz
- Upgrade to 1.83
Changelog at <http://sourceforge.net/project/shownotes.php?group_id=19382&release_id=326187> - Don't use '.if exists' in pre-/post- install.
Diffstat (limited to 'databases/yasql')
-rw-r--r--databases/yasql/Makefile22
-rw-r--r--databases/yasql/distinfo4
2 files changed, 13 insertions, 13 deletions
diff --git a/databases/yasql/Makefile b/databases/yasql/Makefile
index 8da8f20..904a09c0 100644
--- a/databases/yasql/Makefile
+++ b/databases/yasql/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= yasql
-PORTVERSION= 1.82
+PORTVERSION= 1.83
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -60,9 +60,9 @@ pre-configure:
@${PERL} -pi -e 's|/bin/more|/usr/bin/more|' ${WRKSRC}/yasql.conf
pre-install:
-.if exists(${PREFIX}/etc/yasql.conf)
- ${MV} ${PREFIX}/etc/yasql.conf ${PREFIX}/etc/yasql.conf.precious
-.endif
+ if [ -f ${PREFIX}/etc/yasql.conf ] ; then \
+ ${MV} ${PREFIX}/etc/yasql.conf ${PREFIX}/etc/yasql.conf.precious ; \
+ fi
post-install:
${MV} ${PREFIX}/etc/yasql.conf ${PREFIX}/etc/yasql.conf.sample
@@ -70,12 +70,12 @@ post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-.if exists(${PREFIX}/etc/yasql.conf.precious)
- ${MV} ${PREFIX}/etc/yasql.conf.precious ${PREFIX}/etc/yasql.conf
-.else
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
-.endif
+ @if [ -f ${PREFIX}/etc/yasql.conf.precious ] ; then \
+ ${MV} ${PREFIX}/etc/yasql.conf.precious ${PREFIX}/etc/yasql.conf ; \
+ else \
+ ${ECHO_MSG} ; \
+ ${CAT} ${PKGMESSAGE} ; \
+ ${ECHO_MSG} ; \
+ fi
.include <bsd.port.mk>
diff --git a/databases/yasql/distinfo b/databases/yasql/distinfo
index 21d0f92..6385a49 100644
--- a/databases/yasql/distinfo
+++ b/databases/yasql/distinfo
@@ -1,2 +1,2 @@
-MD5 (yasql-1.82.tar.gz) = 1189d1308d21d42318673d128bf926e3
-SIZE (yasql-1.82.tar.gz) = 109167
+MD5 (yasql-1.83.tar.gz) = c580402d20df6a1a0efe72d65a40ff0d
+SIZE (yasql-1.83.tar.gz) = 111977
OpenPOWER on IntegriCloud