aboutsummaryrefslogtreecommitdiff
path: root/devel/cdialog
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-01-13 18:48:05 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-01-13 18:48:05 +0000
commitd10bb91c426bb9c41ed7ab4734dfc2b5933be8be (patch)
treeb48adc9328bb5672827dcbe316da31007712f443 /devel/cdialog
parentc861483226f0674e3edb2b71726332ceda8ca409 (diff)
downloadports-d10bb91c426bb9c41ed7ab4734dfc2b5933be8be.tar.gz
ports-d10bb91c426bb9c41ed7ab4734dfc2b5933be8be.zip
only install as bin/cdialog to avoid conflict with misc/freedialog port
Notes
Notes: svn path=/head/; revision=73070
Diffstat (limited to 'devel/cdialog')
-rw-r--r--devel/cdialog/Makefile16
-rw-r--r--devel/cdialog/pkg-plist1
2 files changed, 9 insertions, 8 deletions
diff --git a/devel/cdialog/Makefile b/devel/cdialog/Makefile
index 4ac4ce7515cf..0e629883fe8b 100644
--- a/devel/cdialog/Makefile
+++ b/devel/cdialog/Makefile
@@ -10,7 +10,7 @@
PORTNAME= cdialog
PORTVERSION= 0.9b-20020814
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://dickey.his.com/dialog/
DISTNAME= ${PORTNAME:S|^c||}-${PORTVERSION}
@@ -22,13 +22,15 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKEFILE= makefile
-MAN1= dialog.1
-MANLINKS= dialog.1 cdialog.1
+MAN1= cdialog.1
-post-install:
- cd ${PREFIX}/bin; ${RM} -fv cdialog; ${LN} -fv dialog cdialog
- cd ${MANPREFIX}/man/man1; \
- ${RM} -fv cdialog.1; ${LN} -fv dialog.1 cdialog.1
+BINDIR= ${PREFIX}/bin
+MAN1DIR= ${MANPREFIX}/man/man1
+
+do-install:
+ cd ${WRKSRC};\
+ ${INSTALL_PROGRAM} dialog ${BINDIR}/cdialog;\
+ ${INSTALL_DATA} dialog.1 ${MAN1DIR}/cdialog.1
.include <bsd.port.mk>
#EOF
diff --git a/devel/cdialog/pkg-plist b/devel/cdialog/pkg-plist
index 9a8639890606..47f5f8f663aa 100644
--- a/devel/cdialog/pkg-plist
+++ b/devel/cdialog/pkg-plist
@@ -1,2 +1 @@
-bin/dialog
bin/cdialog