svn commit: r356985 - head/mail/gld

Vanilla I. Shu vanilla at FreeBSD.org
Sun Jun 8 07:09:46 UTC 2014


Author: vanilla
Date: Sun Jun  8 07:09:45 2014
New Revision: 356985
URL: http://svnweb.freebsd.org/changeset/ports/356985
QAT: https://qat.redports.org/buildarchive/r356985/

Log:
  Stagify, due pkg-plist changed to bump version.

Modified:
  head/mail/gld/Makefile
  head/mail/gld/pkg-plist

Modified: head/mail/gld/Makefile
==============================================================================
--- head/mail/gld/Makefile	Sun Jun  8 07:07:45 2014	(r356984)
+++ head/mail/gld/Makefile	Sun Jun  8 07:09:45 2014	(r356985)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gld
 PORTVERSION=	1.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.gasmi.net/down/
 EXTRACT_SUFX=	.tgz
@@ -22,7 +22,6 @@ OPTIONS_DEFINE=	LOCAL_DB_SERVER
 OPTIONS_DEFAULT=	MYSQL
 LOCAL_DB_SERVER_DESC=	RUN_DEPEND also on selected DB server
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -58,20 +57,15 @@ post-patch:
 
 pre-build:
 	${REINPLACE_CMD} -e 's,"/etc/gld.conf","${PREFIX}/etc/gld.conf",' ${WRKSRC}/gld.h
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gld ${PREFIX}/sbin
-	${INSTALL_DATA} ${WRKSRC}/gld.conf ${PREFIX}/etc/gld.conf-dist
-.if !exists(${PREFIX}/etc/gld.conf)
-	${INSTALL_DATA} ${WRKSRC}/gld.conf ${PREFIX}/etc/gld.conf
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/gld ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_DATA} ${WRKSRC}/gld.conf ${STAGEDIR}${PREFIX}/etc/gld.conf.sample
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in HISTORY LICENCE README table-whitelist.sql tables.mysql tables.pgsql
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>

Modified: head/mail/gld/pkg-plist
==============================================================================
--- head/mail/gld/pkg-plist	Sun Jun  8 07:07:45 2014	(r356984)
+++ head/mail/gld/pkg-plist	Sun Jun  8 07:09:45 2014	(r356985)
@@ -1,6 +1,4 @@
- at unexec if cmp -s %D/etc/gld.conf %D/etc/gld.conf-dist; then rm -f %D/etc/gld.conf; fi
-etc/gld.conf-dist
- at exec [ -f %B/gld.conf ] || cp %B/%f %B/gld.conf
+ at sample etc/gld.conf.sample
 sbin/gld
 %%PORTDOCS%%%%DOCSDIR%%/HISTORY
 %%PORTDOCS%%%%DOCSDIR%%/LICENCE


More information about the svn-ports-head mailing list