Update to newer Tcl layout, port Makefile cleanup.

Become maintainer. Perform install in port
Makefile/remove unneeded patch.

ok landry@, sebastia@
This commit is contained in:
stu 2011-01-05 17:16:29 +00:00
parent 1cca71c289
commit 28eefdd8de
2 changed files with 8 additions and 16 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.3 2010/11/17 08:05:13 espie Exp $
# $OpenBSD: Makefile,v 1.4 2011/01/05 17:16:29 stu Exp $
COMMENT = tool for exploring the color space and relations
DISTNAME = ColorExplorer-1.8
REVISION = 0
CATEGORIES = graphics
HOMEPAGE = http://billposer.org/Software/ColorExplorer.html
MASTER_SITES = http://billposer.org/Software/Downloads/
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
@ -15,14 +14,19 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://billposer.org/Software/Downloads/
MODULES = x11/tk
RUN_DEPENDS = ${MODTK_RUN_DEPENDS} \
graphics/xoris
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
pre-configure:
do-configure:
@${MODTCL_WISH_ADJ} ${WRKSRC}/ColorExplorer.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ColorExplorer.tcl ${PREFIX}/bin/ColorExplorer
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
--- Makefile.orig Tue Apr 15 05:28:52 2008
+++ Makefile Sat May 3 19:58:36 2008
@@ -1,8 +1,4 @@
BINDIR=/usr/local/bin
install: ColorExplorer.tcl
- cp ColorExplorer.tcl ${BINDIR}/ColorExplorer
- (cd xoris;xmkmf;make;strip xoris;make install;make clean)
-
-
-
+ cp ColorExplorer.tcl ${DESTDIR}${BINDIR}/ColorExplorer