aboutsummaryrefslogtreecommitdiff
path: root/databases/aolserver-nsmysql
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-02-02 14:19:31 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-02-02 14:19:31 +0000
commit2afaed2bf9008c85cefc53f28a7b5293831958f7 (patch)
tree95d694c3b93d205d3623982c4c993905332ecbee /databases/aolserver-nsmysql
parenta6620f8bb49e1d6dd171b4288655a1f798e9524b (diff)
downloadports-2afaed2bf9008c85cefc53f28a7b5293831958f7.tar.gz
ports-2afaed2bf9008c85cefc53f28a7b5293831958f7.zip
Notes
Diffstat (limited to 'databases/aolserver-nsmysql')
-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
4 files changed, 59 insertions, 0 deletions
diff --git a/databases/aolserver-nsmysql/Makefile b/databases/aolserver-nsmysql/Makefile
new file mode 100644
index 000000000000..b44d5d1bb144
--- /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 000000000000..9819fbac20ba
--- /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 000000000000..b2be3c3c67c7
--- /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 000000000000..b53c885d3ca1
--- /dev/null
+++ b/databases/aolserver-nsmysql/pkg-plist
@@ -0,0 +1,3 @@
+%%AOLSERVERBASE%%/bin/nsmysql.so
+%%AOLSERVERBASE%%/lib/libnsmysql.a
+%%AOLSERVERBASE%%/lib/libnsmysql.so