summaryrefslogtreecommitdiffstats
path: root/devel/cdialog
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-01-13 18:48:05 +0000
committeralane <alane@FreeBSD.org>2003-01-13 18:48:05 +0000
commitc41f04f9ddb26a160534d553b9d61e038770d5da (patch)
treed770813a2ebf505a748c04c336e57a2095bcbee9 /devel/cdialog
parent5c8e24bd3272fdecfbdd39721a2dcde79a5cc311 (diff)
downloadFreeBSD-ports-c41f04f9ddb26a160534d553b9d61e038770d5da.zip
FreeBSD-ports-c41f04f9ddb26a160534d553b9d61e038770d5da.tar.gz
only install as bin/cdialog to avoid conflict with misc/freedialog port
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 4ac4ce7..0e62988 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 9a86398..47f5f8f 100644
--- a/devel/cdialog/pkg-plist
+++ b/devel/cdialog/pkg-plist
@@ -1,2 +1 @@
-bin/dialog
bin/cdialog
OpenPOWER on IntegriCloud