-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- switch to maintained 9front fork - rework and simplify port - install man page - grab maintainership as maintainer wants to hand it over PR: 258489
- Loading branch information
1 parent
9a1cc55
commit e893333
Showing
5 changed files
with
36 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
PORTNAME= drawterm | ||
PORTVERSION= 20140106 | ||
PORTREVISION= 1 | ||
CATEGORIES= net | ||
PORTVERSION= 20230903 | ||
CATEGORIES= net x11 | ||
MASTER_SITES= http://swtch.com/drawterm/ | ||
|
||
MAINTAINER= winston@ml1.net | ||
MAINTAINER= fuz@FreeBSD.org | ||
COMMENT= Plan9 cpu client | ||
WWW= https://swtch.com/drawterm/ | ||
|
||
# Additionally the Lucent Public License | ||
LICENSE= MIT | ||
|
||
USES= tar:tgz xorg | ||
USES= xorg localbase:ldflags | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= 9front | ||
GH_TAGNAME= c4ea4d299aa1bbbcc972c04adf06c18245ce7674 | ||
USE_XORG= x11 xt | ||
|
||
PLIST_FILES= bin/drawterm | ||
PORTDOCS= LICENSE README | ||
WRKSRC= ${WRKDIR}/${PORTNAME} | ||
PLIST_FILES= bin/drawterm \ | ||
share/man/man1/drawterm.1.gz | ||
|
||
MAKE_ARGS= CONF=pthread | ||
|
||
OPTIONS_DEFINE= DOCS | ||
MAKE_ARGS= CONF=${OPSYS:tl} | ||
|
||
do-install: | ||
${INSTALL_PROGRAM} ${WRKSRC}/drawterm ${STAGEDIR}${PREFIX}/bin | ||
|
||
post-install-DOCS-on: | ||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ||
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR} | ||
${INSTALL_MAN} ${WRKSRC}/drawterm.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/drawterm.1 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
SHA256 (drawterm-20140106.tgz) = d165e86f3a0aa82fd70764ac4b08f9312ac3c6c4f559bf3e37588d6a92af394a | ||
SIZE (drawterm-20140106.tgz) = 1283386 | ||
TIMESTAMP = 1700290033 | ||
SHA256 (9front-drawterm-20230903-c4ea4d299aa1bbbcc972c04adf06c18245ce7674_GH0.tar.gz) = 5c4dcdb99e9be032fd3a55f439a878f6478bfb1a6859039cf4db15a75bf22652 | ||
SIZE (9front-drawterm-20230903-c4ea4d299aa1bbbcc972c04adf06c18245ce7674_GH0.tar.gz) = 612334 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- Make.freebsd.orig 2023-11-18 06:48:07 UTC | ||
+++ Make.freebsd | ||
@@ -1,16 +1,12 @@ | ||
# OpenBSD | ||
PTHREAD=-pthread | ||
-AR=ar | ||
-AS=as | ||
RANLIB=ranlib | ||
-X11=/usr/local | ||
-CC=clang | ||
-CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2 | ||
+CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2 | ||
O=o | ||
OS=posix | ||
GUI=x11 | ||
-LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11 -ggdb | ||
-LDFLAGS=$(PTHREAD) | ||
+LDADD=-lX11 -ggdb | ||
+LDFLAGS+=$(PTHREAD) | ||
TARG=drawterm | ||
AUDIO=unix | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.