aboutsummaryrefslogtreecommitdiff
path: root/dns/mydns-ng/Makefile
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2007-12-31 12:35:17 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2007-12-31 12:35:17 +0000
commit18a56320c9602155ab8efec1503104da172eb882 (patch)
treee6c9bc10db8d29a4e76a24cac3a7ecc376035aec /dns/mydns-ng/Makefile
parent07bcc4091010f79f8d929d6ce22e51c7e3743b3f (diff)
downloadports-release/6.3.0.tar.gz
ports-release/6.3.0.zip
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_3_0'.release/6.3.0
Diffstat (limited to 'dns/mydns-ng/Makefile')
-rw-r--r--dns/mydns-ng/Makefile89
1 files changed, 0 insertions, 89 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile
deleted file mode 100644
index f76ba6b893eb..000000000000
--- a/dns/mydns-ng/Makefile
+++ /dev/null
@@ -1,89 +0,0 @@
-# New ports collection makefile for: mydns
-# Date created: 23 July 2002
-# Whom: Simon Dick <simond@irrelevant.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mydns
-PORTVERSION= 1.1.0
-PORTREVISION= 2
-CATEGORIES= dns databases
-MASTER_SITES= http://mydns.bboy.net/download/
-
-MAINTAINER= ale@FreeBSD.org
-COMMENT= DNS server designed to utilize the MySQL database
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc
-USE_ICONV= yes
-USE_BZIP2= yes
-
-USE_RC_SUBR= mydns.sh
-
-SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-INFO= mydns
-MAN5= mydns.conf.5
-MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 mydnsptrconvert.8 mydns-conf.8
-
-DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO
-
-.if defined(WITH_ALIAS)
-CONFIGURE_ARGS+=--enable-alias
-.endif
-
-.if defined(WITH_OPENSSL)
-USE_OPENSSL= yes
-CONFIGURE_ARGS+=--with-openssl \
- --with-openssl-include=${OPENSSLINC} \
- --with-openssl-lib=${OPENSSLLIB}
-.endif
-
-.if defined(WITH_PGSQL)
-USE_PGSQL= yes
-CONFIGURE_ARGS+=--without-mysql \
- --with-pgsql-include=${LOCALBASE}/include \
- --with-pgsql-lib=${LOCALBASE}/lib
-PKGNAMESUFFIX= -pg
-.else
-CONFIGURE_ARGS+=--without-pgsql \
- --with-mysql-include=${LOCALBASE}/include/mysql \
- --with-mysql-lib=${LOCALBASE}/lib/mysql
-PKGNAMESUFFIX= -mysql
-USE_MYSQL= yes
-.endif
-
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
-pre-fetch:
- @${ECHO} ""
- @${ECHO} "You may use the following build options:"
- @${ECHO} ""
- @${ECHO} " WITH_PGSQL=yes Build with PostgreSQL support"
- @${ECHO} " WITH_ALIAS=yes Enable server side aliases"
- @${ECHO} " WITH_OPENSSL=yes Enable OpenSSL (needed if MySQL is linked with OpenSSL)"
- @${ECHO} ""
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/contrib
-.for f in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
- @${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${DOCSDIR}/contrib/
- @${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${DOCSDIR}/contrib/
- @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${DOCSDIR}/contrib/
- @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/
-.endif
- @${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>