aboutsummaryrefslogtreecommitdiffstats
path: root/net/unison
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2008-09-24 22:01:32 +0800
committerbsam <bsam@FreeBSD.org>2008-09-24 22:01:32 +0800
commit60f43bee29a61f847dcd8adac9086b56a34b3b10 (patch)
tree1ac0e4bfa6c4f3db3a4e656ed691bf4a4b7b37bd /net/unison
parent6053506c056afa84e59ccabaf474805ee29075c9 (diff)
downloadfreebsd-ports-gnome-60f43bee29a61f847dcd8adac9086b56a34b3b10.tar.gz
freebsd-ports-gnome-60f43bee29a61f847dcd8adac9086b56a34b3b10.tar.zst
freebsd-ports-gnome-60f43bee29a61f847dcd8adac9086b56a34b3b10.zip
Those changes should deal with an upcomming new slave port net/unison-nox11
(PR/127117): . add CONFLICTS; . add pkg-message.nox11 file; . show apropriate message file; . switch from '=' to '?=' for PORTREVISION (seems that slave port should be rarely bumpted having only 5 dependencies); . bump PORTREVISION. PR: 127118 Submitted by: bsam (me) Approved by: maintainer (timeout for 19 days)
Diffstat (limited to 'net/unison')
-rw-r--r--net/unison/Makefile12
-rw-r--r--net/unison/pkg-message.nox113
2 files changed, 10 insertions, 5 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile
index ff60f0dbe62f..605c346b2936 100644
--- a/net/unison/Makefile
+++ b/net/unison/Makefile
@@ -7,7 +7,7 @@
PORTNAME= unison
PORTVERSION= 2.27.57
-PORTREVISION= 1
+PORTREVISION?= 2
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/
DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS}
@@ -20,7 +20,7 @@ COMMENT= A user-level file synchronization tool
PLIST_SUB= PORTVERSION=${PORTVERSION}
USE_GMAKE= yes
MAKE_ARGS= CFLAGS=""
-CONFLICTS= unison-devel-[0-9]*
+CONFLICTS= unison-devel-[0-9]* unison-nox11-[0-9]*
.include <bsd.port.pre.mk>
@@ -60,14 +60,16 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unison ${PREFIX}/bin
post-install:
-.if defined(WITH_GTK2)
- @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin
-.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${DOCSDIR}
.endif
+.if defined(WITH_GTK2)
+ @${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin
@${CAT} ${PKGMESSAGE}
+.else
+ @${CAT} ${PKGMESSAGE}.nox11
+.endif
.include <bsd.port.post.mk>
diff --git a/net/unison/pkg-message.nox11 b/net/unison/pkg-message.nox11
new file mode 100644
index 000000000000..fe8b86b9b4eb
--- /dev/null
+++ b/net/unison/pkg-message.nox11
@@ -0,0 +1,3 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+A text-only unison binary is installed.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!