aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-02-02 22:19:31 +0800
committergabor <gabor@FreeBSD.org>2007-02-02 22:19:31 +0800
commited835561e687b74a167d98501b7a590347ae975a (patch)
treeb5dc2e614f3255c2c77a7657770eab3e31c86fba /databases
parentbf677b6007593c6b6b8e097badef99b281cf866c (diff)
downloadfreebsd-ports-graphics-ed835561e687b74a167d98501b7a590347ae975a.tar.gz
freebsd-ports-graphics-ed835561e687b74a167d98501b7a590347ae975a.tar.zst
freebsd-ports-graphics-ed835561e687b74a167d98501b7a590347ae975a.zip
nsmysql is an internal MySQL database driver for AOLserver 3.x and 4.x, by
Panoptic Computer Network. WWW: http://www.aolserver.com/ - Martin Matuska martin@matuska.org PR: ports/105781 Submitted by: Martin Matuska <martin@matuska.org> Approved by: erwin (mentor)
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/aolserver-nsmysql/Makefile46
-rw-r--r--databases/aolserver-nsmysql/distinfo3
-rw-r--r--databases/aolserver-nsmysql/pkg-descr7
-rw-r--r--databases/aolserver-nsmysql/pkg-plist3
5 files changed, 60 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 699bffa0e97..4cb6958bdb8 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -8,6 +8,7 @@
SUBDIR += adstudio
SUBDIR += animenfo-client
SUBDIR += animenfo-client-gtk
+ SUBDIR += aolserver-nsmysql
SUBDIR += bbdb
SUBDIR += bbdb-emacs20
SUBDIR += cdb
diff --git a/databases/aolserver-nsmysql/Makefile b/databases/aolserver-nsmysql/Makefile
new file mode 100644
index 00000000000..b44d5d1bb14
--- /dev/null
+++ b/databases/aolserver-nsmysql/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: aolserver-nsmysql
+# Date created: 12 Oct 2006
+# Whom: Martin Matuska <martin@matuska.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= aolserver-nsmysql
+PORTVERSION= 1.0
+CATEGORIES= databases www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= aolserver
+DISTFILES= nsmysql_v1.tar.gz
+DIST_SUBDIR= aolserver
+
+MAINTAINER= martin@matuska.org
+COMMENT= Internal MySQL database driver for AOLserver
+
+WRKSRC= ${WRKDIR}/nsmysql_v1
+
+AOLSERVERBASE?= ${PREFIX}/aolserver
+BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///}
+
+USE_MYSQL= yes
+USE_GMAKE= yes
+
+MAKE_ARGS= AOLSERVER=${AOLSERVERBASE}
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= ChangeLog README INSTALL
+.endif
+
+post-patch:
+ @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${DOCSDIR}
+.for FILE in ${PORTDOCS}
+ @ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/aolserver-nsmysql/distinfo b/databases/aolserver-nsmysql/distinfo
new file mode 100644
index 00000000000..9819fbac20b
--- /dev/null
+++ b/databases/aolserver-nsmysql/distinfo
@@ -0,0 +1,3 @@
+MD5 (aolserver/nsmysql_v1.tar.gz) = cf1eda5901574aa97619c028196b1545
+SHA256 (aolserver/nsmysql_v1.tar.gz) = a90c0051da9e5d40e7d8514febb7ae8d38500fdbc658c373ad998385589d4a7b
+SIZE (aolserver/nsmysql_v1.tar.gz) = 10996
diff --git a/databases/aolserver-nsmysql/pkg-descr b/databases/aolserver-nsmysql/pkg-descr
new file mode 100644
index 00000000000..b2be3c3c67c
--- /dev/null
+++ b/databases/aolserver-nsmysql/pkg-descr
@@ -0,0 +1,7 @@
+nsmysql is an internal MySQL database driver for AOLserver 3.x and 4.x, by
+Panoptic Computer Network.
+
+WWW: http://www.aolserver.com/
+
+- Martin Matuska
+martin@matuska.org
diff --git a/databases/aolserver-nsmysql/pkg-plist b/databases/aolserver-nsmysql/pkg-plist
new file mode 100644
index 00000000000..b53c885d3ca
--- /dev/null
+++ b/databases/aolserver-nsmysql/pkg-plist
@@ -0,0 +1,3 @@
+%%AOLSERVERBASE%%/bin/nsmysql.so
+%%AOLSERVERBASE%%/lib/libnsmysql.a
+%%AOLSERVERBASE%%/lib/libnsmysql.so