From d10bb91c426bb9c41ed7ab4734dfc2b5933be8be Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Mon, 13 Jan 2003 18:48:05 +0000 Subject: [PATCH] only install as bin/cdialog to avoid conflict with misc/freedialog port --- devel/cdialog/Makefile | 16 +++++++++------- devel/cdialog/pkg-plist | 1 - 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 #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