aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2009-08-19 21:06:16 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2009-08-19 21:06:16 +0000
commit508a7569d2103c9a0ff78db06a83b48d9324483b (patch)
treea5c0d081cb6dd0de59a2319ee54223f997f29fd7
parentf8f5faf888824055dd7f384949d1ad2fab54c97b (diff)
downloadports-508a7569d2103c9a0ff78db06a83b48d9324483b.tar.gz
ports-508a7569d2103c9a0ff78db06a83b48d9324483b.zip
- Utilize SF macro for master site
- Consistently spell ``NVidia'' - Convert to OPTIONS, clean up Makefile - Unmute installation commands - I use NVidia and I overclock, so take it
Notes
Notes: svn path=/head/; revision=239969
-rw-r--r--sysutils/nvclock/Makefile37
1 files changed, 15 insertions, 22 deletions
diff --git a/sysutils/nvclock/Makefile b/sysutils/nvclock/Makefile
index c9f376d14160..7fb41f9c9bd0 100644
--- a/sysutils/nvclock/Makefile
+++ b/sysutils/nvclock/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: nvclock
+# New ports collection makefile for: NVClock
# Date created: August 4, 2003
# Whom: Samy Al Bahra <samy@kerneled.com>
#
@@ -9,12 +9,11 @@ PORTNAME= nvclock
DISTVERSION= 0.8b4
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= nvclock
+MASTER_SITES= SF
DISTNAME= nvclock${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= The nVidia graphic card status and overclocking tool
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= The NVidia graphic card status and overclocking tool
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -23,6 +22,12 @@ USE_AUTOTOOLS= aclocal:19 autoheader:262 autoconf:262
PLIST_FILES= bin/nvclock \
bin/smartdimmer
+MAN1= nvclock.1
+PORTDOCS= ABOUT AUTHORS ChangeLog FAQ README
+
+OPTIONS= GUI "Build with GTK user interface" on
+
+.include <bsd.port.pre.mk>
.if defined(WITHOUT_GUI)
CONFIGURE_ARGS+=--enable-gtk=no --enable-qt=no --enable-nvcontrol=no
@@ -32,30 +37,18 @@ USE_GNOME+= gtk20
PLIST_FILES+= bin/nvclock_gtk
.endif
-MAN1= nvclock.1
-
-PORTDOCS= ABOUT AUTHORS ChangeLog FAQ README
-
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "************************************************"
- @${ECHO_MSG} "* You can disable nvclock's GTK user interface *"
- @${ECHO_MSG} "* by defining WITHOUT_GUI. *"
- @${ECHO_MSG} "************************************************"
- @${ECHO_MSG} ""
-
post-patch:
@${REINPLACE_CMD} -e 's|$$(DISTDIR)||' ${WRKSRC}/src/Makefile.in
do-install:
- @${GMAKE} -C ${WRKSRC}/src install
- @${GMAKE} -C ${WRKSRC} install-man
+ ${GMAKE} -C ${WRKSRC}/src install
+ ${GMAKE} -C ${WRKSRC} install-man
.if !defined(WITHOUT_GUI)
- @${GMAKE} -C ${WRKSRC}/src/gtk install
+ ${GMAKE} -C ${WRKSRC}/src/gtk install
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${GMAKE} -C ${WRKSRC} install-docs
+ ${GMAKE} -C ${WRKSRC} install-docs
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>