diff options
author | sbz <sbz@FreeBSD.org> | 2017-07-22 22:33:15 +0800 |
---|---|---|
committer | sbz <sbz@FreeBSD.org> | 2017-07-22 22:33:15 +0800 |
commit | 01b7d0b1d7a522c7e5e950c0a8cab470b7386c10 (patch) | |
tree | 29a298dfab862bc20ddbdbc0a1c3e7467a9985db /devel | |
parent | f5d2ddaecc912aa2d031d1f13ebc53518ab5a2dc (diff) | |
download | freebsd-ports-gnome-01b7d0b1d7a522c7e5e950c0a8cab470b7386c10.tar.gz freebsd-ports-gnome-01b7d0b1d7a522c7e5e950c0a8cab470b7386c10.tar.zst freebsd-ports-gnome-01b7d0b1d7a522c7e5e950c0a8cab470b7386c10.zip |
- Update to 20170701
- Add LICENSE_FILE
- Make happy portlint
Diffstat (limited to 'devel')
-rw-r--r-- | devel/9base/Makefile | 20 | ||||
-rw-r--r-- | devel/9base/pkg-message | 5 |
2 files changed, 11 insertions, 14 deletions
diff --git a/devel/9base/Makefile b/devel/9base/Makefile index dc4b81730007..bf80265f9aee 100644 --- a/devel/9base/Makefile +++ b/devel/9base/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= 9base -DISTVERSION= b20100604 +PORTVERSION= 20170701 CATEGORIES= devel MASTER_SITES= http://dl.suckless.org/tools/ DISTNAME= ${PORTNAME}-6 @@ -11,6 +11,7 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Port of various original plan9 tools LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 sparc64 ONLY_FOR_ARCHS_REASON= has low-level code unavailable for ${ARCH} @@ -19,21 +20,18 @@ USES= shebangfix SHEBANG_FILES= troff/tmac/sendcover \ troff/font/devutf/mkMAP SHEBANG_LANG= rc -rc_OLD_CMD= /bin/rc -rc_CMD= ${PREFIX}/bin/rc -CFLAGS+= -I. -c -LDFLAGS+= -L. +rc_OLD_CMD= ${PREFIX}/bin/rc +rc_CMD= ${PREFIX}/9/bin/rc MANPREFIX= ${PREFIX}/9 MAKE_ARGS= PREFIX="${PREFIX}/9" CC="${CC}" MANPREFIX="${MANPREFIX}/man" \ - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + CFLAGS="${CFLAGS} -I. -c" LDFLAGS="${LDFLAGS} -L." MAKE_JOBS_UNSAFE= yes -APPS= ascii awk basename bc cal cat cleanname cmp date dc du dd diff echo ed \ - factor fortune fmt freq getflags grep hoc join look ls mk mkdir mtime pbd \ - primes rc read sam sha1sum sed seq sleep sort split strings tail tee test \ - touch tr troff unicode uniq unutf yacc post-patch: @${REINPLACE_CMD} -e 's|PREFIX|"${PREFIX}/9"|' ${WRKSRC}/lib9/get9root.c - @${REINPLACE_CMD} -e '/OBJTYPE!=/s|!=.*|=${ARCH:S,i386,386,:S,amd64,x86_64,:S,sparc64,sun4u,}|' ${WRKSRC}/lib9/Makefile + +post-install: + @${FILE} ${STAGEDIR}${PREFIX}/9/bin/* | ${AWK} -F: '/ not stripped/{print $$1}' | \ + ${XARGS} ${STRIP_CMD} .include <bsd.port.mk> diff --git a/devel/9base/pkg-message b/devel/9base/pkg-message index fe788013769d..8901b6b9ed4c 100644 --- a/devel/9base/pkg-message +++ b/devel/9base/pkg-message @@ -1,8 +1,7 @@ ====================================================== Some of 9base tools require fdescfs to be mounted. -Place "fdescfs /dev/fd fdescfs rw 0 0" into your -fstab(5) file and run "mount /dev/fd". See fdescfs(5) -for more. +Please refer manpages fdescfs(5) and fstab(5) to +mount it. ====================================================== |