diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-07-17 21:19:58 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-07-17 21:19:58 +0000 |
commit | 195dbf41d59f680c563d1998e85b1178e3b04476 (patch) | |
tree | d5abe7ec95dbf9da7488215fd3b33ed730c9b21b /databases/msql3/Makefile | |
parent | Update to 1.7 (diff) |
Version 3 of the Mini SQL relational database system
PR: ports/67319
Submitted by: Andrey Slusar <vasallia@ukr.net>
Approved by: krion (mentor) (implicit)
Notes
Notes:
svn path=/head/; revision=113877
Diffstat (limited to 'databases/msql3/Makefile')
-rw-r--r-- | databases/msql3/Makefile | 53 |
1 files changed, 18 insertions, 35 deletions
diff --git a/databases/msql3/Makefile b/databases/msql3/Makefile index cd43944c7ff1..1d2dd188fc21 100644 --- a/databases/msql3/Makefile +++ b/databases/msql3/Makefile @@ -1,17 +1,16 @@ -# New ports collection makefile for: msql2 -# Date created: December 17th 1996 -# Whom: jfitz +# New ports collection makefile for: msql3 +# Date created: 24 May 2004 +# Whom: Andrey Slusar <vasallia@ukr.net> # # $FreeBSD$ # PORTNAME= msql -PORTVERSION= 2.0.12 -PORTREVISION= 4 +PORTVERSION= 3.5 CATEGORIES= databases MAINTAINER= vasallia@ukr.net -COMMENT= The Mini SQL server, version 2 +COMMENT= Version 3 of the Mini SQL relational database system INSTALLS_SHLIB= YES USE_PERL5= YES @@ -20,55 +19,39 @@ USE_REINPLACE= YES # Not free for commercial use. RESTRICTED= "restrictive copyright (no commercial use)" -CFLAGS+= -DANSI_ARGS MAKE_ENV+= WRKSRC=${WRKSRC} -# Uncomment this if you're upgrading from <= b4 to >= b5 and have already -# dumped your databases (or just build with -DOVERWRITE_DB) -#OVERWRITE_DB= YES - post-patch: cd ${FILESDIR}; \ - cp slibinstall.mm slibrary_unix.mm ${WRKSRC}/src/makegen - @${REINPLACE_CMD} -e "s|'bison -y' byacc|byacc 'bison -y'|g" \ - ${WRKSRC}/src/conf/configure + ${REINPLACE_CMD} -e "s|'bison -y' byacc|byacc 'bison -y'|g" \ + ${WRKSRC}/conf/configure do-configure: - cd ${WRKSRC}; ${MAKE} target - cd ${WRKSRC}/targets/freebsd; ${SETENV} ${MAKE_ENV} ./setup + cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./setup @${SETENV} ${MAKE_ENV} ${PERL} ${SCRIPTDIR}/customize_scripts pre-install: - @${SETENV} ${MAKE_ENV} ${PERL} ${SCRIPTDIR}/check_old_version - pwd @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: @${INSTALL_SCRIPT} ${WRKSRC}/scripts/run_daemon ${PREFIX}/bin - @${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/share/doc/msql - @for file in msqladmin msqlimport msqlexport; do\ - ${CHGRP} msql ${PREFIX}/bin/$$file; \ - done - ${CHGRP} msql ${PREFIX}/sbin/msql2d - @for file in RELEASE_NOTES MSQL_BOOK INSTALL; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/msql; \ + @for f in msqladmin msqlimport msqlexport; do\ + ${CHGRP} msql ${PREFIX}/bin/${f}; \ done - @${CHMOD} 751 ${PREFIX}/etc/msql2/ - @${CHOWN} -R msql:msql ${PREFIX}/etc/msql2/ + ${CHGRP} msql ${PREFIX}/sbin/msql3d + @${CHMOD} 751 ${PREFIX}/etc/msql3/ + @${CHOWN} -R msql:msql ${PREFIX}/etc/msql3/ @${MKDIR} ${PREFIX}/etc/rc.d - @if [ ! -f ${PREFIX}/etc/rc.d/msql2.sh ]; then \ - ${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/msql2.sh startup file."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/msql2.sh \ - ${PREFIX}/etc/rc.d/msql2.sh; \ + @if [ ! -f ${PREFIX}/etc/rc.d/msql3.sh ]; then \ + ${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/msql3.sh startup file."; \ + ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/msql3.sh \ + ${PREFIX}/etc/rc.d/msql3.sh; \ fi -.if !defined(BATCH) - @ /usr/bin/more -e ${FILESDIR}/post-install-notes -.endif .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -IGNORE=- You must manually obtain ${DISTFILES} from 'http://www.Hughes.com.au/download/' and place it in ${DISTDIR}. The distribution requires registration prior to use +IGNORE="- You must manually obtain ${DISTFILES} from 'http://www.Hughes.com.au/download/' and place it in ${DISTDIR}. The distribution requires registration prior to use" .endif .include <bsd.port.post.mk> |