svn commit: r314496 - in head/graphics/s10sh: . files
Beech Rintoul
beech at FreeBSD.org
Sun Mar 17 21:03:18 UTC 2013
Author: beech
Date: Sun Mar 17 21:03:17 2013
New Revision: 314496
URL: http://svnweb.freebsd.org/changeset/ports/314496
Log:
- Fix install
- Convert to OptionsNG
- Bump portrevision
PR: ports/177050
Submitted by: nemysis <nemysis at gmx.ch>
Deleted:
head/graphics/s10sh/pkg-plist
Modified:
head/graphics/s10sh/Makefile (contents, props changed)
head/graphics/s10sh/files/Makefile.bsd (contents, props changed)
Modified: head/graphics/s10sh/Makefile
==============================================================================
--- head/graphics/s10sh/Makefile Sun Mar 17 21:00:25 2013 (r314495)
+++ head/graphics/s10sh/Makefile Sun Mar 17 21:03:17 2013 (r314496)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: s10sh
-# Date created: Tue Feb 27 00:16:34 MST 2001
-# Whom: John Reynolds <johnjen at reynoldsnet.org>
-#
+# Created by: John Reynolds <johnjen at reynoldsnet.org>
# $FreeBSD$
-#
PORTNAME= s10sh
PORTVERSION= 0.2.2
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.reynoldsnet.org/s10sh/ \
http://www.edwinh.org/s10sh/
@@ -19,20 +16,30 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exc
MAKEFILE= ${FILESDIR}/Makefile.bsd
+PLIST_FILES= bin/${PORTNAME}
+
+PORTDOCS= README
+
+OPTIONS_DEFINE= USB
+
.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(NOUSB) || defined(WITHOUT_USB)
+.if ${OSVERSION} < 800069
+. if ${PORT_OPTIONS:MUSB}
+LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
+. else
MAKE_ENV+= WITHOUT_USB=YES
-.else
-. if ${OSVERSION} < 800069
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
. endif
.endif
-.if !defined(NOPORTDOCS)
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+
post-install:
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
Modified: head/graphics/s10sh/files/Makefile.bsd
==============================================================================
--- head/graphics/s10sh/files/Makefile.bsd Sun Mar 17 21:00:25 2013 (r314495)
+++ head/graphics/s10sh/files/Makefile.bsd Sun Mar 17 21:03:17 2013 (r314496)
@@ -1,5 +1,5 @@
PROG = s10sh
-NOMAN = oh...
+NO_MAN = oh...
SRCS = main.c crc.c serial.c common.c bar.c
More information about the svn-ports-head
mailing list