aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2008-09-24 14:01:32 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2008-09-24 14:01:32 +0000
commit726d3032f2200b1bd554448c1f4d8505355067a6 (patch)
tree12734f9d06693fbfaa11cb9bdde144ea985869d5 /net
parentdb881fc98790019d48041a65b0dbd078820707ea (diff)
downloadports-726d3032f2200b1bd554448c1f4d8505355067a6.tar.gz
ports-726d3032f2200b1bd554448c1f4d8505355067a6.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/unison/Makefile12
-rw-r--r--net/unison/pkg-message.nox113
-rw-r--r--net/unison232/Makefile12
-rw-r--r--net/unison232/pkg-message.nox113
4 files changed, 20 insertions, 10 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.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
diff --git a/net/unison232/Makefile b/net/unison232/Makefile
index ff60f0dbe62f..605c346b2936 100644
--- a/net/unison232/Makefile
+++ b/net/unison232/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/unison232/pkg-message.nox11 b/net/unison232/pkg-message.nox11
new file mode 100644
index 000000000000..fe8b86b9b4eb
--- /dev/null
+++ b/net/unison232/pkg-message.nox11
@@ -0,0 +1,3 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+A text-only unison binary is installed.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!