diff options
author | beech <beech@FreeBSD.org> | 2013-03-18 05:03:17 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2013-03-18 05:03:17 +0800 |
commit | 5420edda44d72d24aaa1564b4549204b51dc4359 (patch) | |
tree | 1dd8c2c2836a0a21db44937504f240b5e56ce9f8 /graphics/s10sh | |
parent | 800ecd50e26b5b13f673786ce69afd1f7d08c3ad (diff) | |
download | freebsd-ports-gnome-5420edda44d72d24aaa1564b4549204b51dc4359.tar.gz freebsd-ports-gnome-5420edda44d72d24aaa1564b4549204b51dc4359.tar.zst freebsd-ports-gnome-5420edda44d72d24aaa1564b4549204b51dc4359.zip |
- Fix install
- Convert to OptionsNG
- Bump portrevision
PR: ports/177050
Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'graphics/s10sh')
-rw-r--r-- | graphics/s10sh/Makefile | 29 | ||||
-rw-r--r-- | graphics/s10sh/files/Makefile.bsd | 2 | ||||
-rw-r--r-- | graphics/s10sh/pkg-plist | 3 |
3 files changed, 19 insertions, 15 deletions
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile index 0ea05615bb5a..38e0c6e320fe 100644 --- a/graphics/s10sh/Makefile +++ b/graphics/s10sh/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: s10sh -# Date created: Tue Feb 27 00:16:34 MST 2001 -# Whom: John Reynolds <johnjen@reynoldsnet.org> -# +# Created by: John Reynolds <johnjen@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 - --exclude '*/libusb*' 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> diff --git a/graphics/s10sh/files/Makefile.bsd b/graphics/s10sh/files/Makefile.bsd index 8abbf4eb98b8..f9440131a32f 100644 --- a/graphics/s10sh/files/Makefile.bsd +++ b/graphics/s10sh/files/Makefile.bsd @@ -1,5 +1,5 @@ PROG = s10sh -NOMAN = oh... +NO_MAN = oh... SRCS = main.c crc.c serial.c common.c bar.c diff --git a/graphics/s10sh/pkg-plist b/graphics/s10sh/pkg-plist deleted file mode 100644 index 3d183d036e81..000000000000 --- a/graphics/s10sh/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/s10sh -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |