diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2008-09-24 14:01:32 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2008-09-24 14:01:32 +0000 |
commit | 726d3032f2200b1bd554448c1f4d8505355067a6 (patch) | |
tree | 12734f9d06693fbfaa11cb9bdde144ea985869d5 /net | |
parent | db881fc98790019d48041a65b0dbd078820707ea (diff) | |
download | ports-726d3032f2200b1bd554448c1f4d8505355067a6.tar.gz ports-726d3032f2200b1bd554448c1f4d8505355067a6.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/unison/Makefile | 12 | ||||
-rw-r--r-- | net/unison/pkg-message.nox11 | 3 | ||||
-rw-r--r-- | net/unison232/Makefile | 12 | ||||
-rw-r--r-- | net/unison232/pkg-message.nox11 | 3 |
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. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |