diff options
author | pawel <pawel@FreeBSD.org> | 2015-10-30 06:13:37 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2015-10-30 06:13:37 +0800 |
commit | 61bd1bc209bb324ca75784bd86e25e186d691b22 (patch) | |
tree | b6d9e1ad17582a45ac058dbfe8b5e0f906fdcd2b /comms | |
parent | 4a9c6cb1499821fddb600659ad4d0c7fe1b8aeea (diff) | |
download | freebsd-ports-gnome-61bd1bc209bb324ca75784bd86e25e186d691b22.tar.gz freebsd-ports-gnome-61bd1bc209bb324ca75784bd86e25e186d691b22.tar.zst freebsd-ports-gnome-61bd1bc209bb324ca75784bd86e25e186d691b22.zip |
- Update to version 2.1, now hosted at GitHub
- Removed need to use gmake or specify ALL_TARGET
- Define LICENSE
- Respect CFLAGS, CPPFLAGS, LDFLAGS during build
- Add DEBUG option
PR: 203842
Submitted by: Sergey Kozlov
Diffstat (limited to 'comms')
-rw-r--r-- | comms/picocom/Makefile | 16 | ||||
-rw-r--r-- | comms/picocom/distinfo | 4 | ||||
-rw-r--r-- | comms/picocom/files/patch-Makefile | 17 | ||||
-rw-r--r-- | comms/picocom/pkg-descr | 2 |
4 files changed, 30 insertions, 9 deletions
diff --git a/comms/picocom/Makefile b/comms/picocom/Makefile index 875dbe5996cc..33bfaab66f77 100644 --- a/comms/picocom/Makefile +++ b/comms/picocom/Makefile @@ -2,19 +2,23 @@ # $FreeBSD$ PORTNAME= picocom -PORTVERSION= 1.7 +PORTVERSION= 2.1 CATEGORIES= comms -MASTER_SITES= GOOGLE_CODE MAINTAINER= ports@FreeBSD.org COMMENT= Dumb Terminal Emulator -ALL_TARGET= picocom -USES= gmake +LICENSE= GPLv2 -PLIST_FILES= bin/picocom man/man8/picocom.8.gz +USE_GITHUB= yes +GH_ACCOUNT= npat-efault + +PLIST_FILES= bin/picocom man/man1/picocom.1.gz + +OPTIONS_DEFINE= DEBUG do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + .include <bsd.port.mk> diff --git a/comms/picocom/distinfo b/comms/picocom/distinfo index ec1093a1acb5..32ead355b9b4 100644 --- a/comms/picocom/distinfo +++ b/comms/picocom/distinfo @@ -1,2 +1,2 @@ -SHA256 (picocom-1.7.tar.gz) = d0f31c8f7a215a76922d30c81a52b9a2348c89e02a84935517002b3bc2c1129e -SIZE (picocom-1.7.tar.gz) = 42857 +SHA256 (npat-efault-picocom-2.1_GH0.tar.gz) = 6b152fc5f816eaef6b86336a4cec7cf1496b7c712061e5aea5a36f143a0b09ed +SIZE (npat-efault-picocom-2.1_GH0.tar.gz) = 89281 diff --git a/comms/picocom/files/patch-Makefile b/comms/picocom/files/patch-Makefile new file mode 100644 index 000000000000..1a76d020d92d --- /dev/null +++ b/comms/picocom/files/patch-Makefile @@ -0,0 +1,17 @@ +--- Makefile.orig 2015-10-15 21:25:02 UTC ++++ Makefile +@@ -2,11 +2,11 @@ + VERSION = 2.1 + + #CC = gcc +-CPPFLAGS = -DVERSION_STR=\"$(VERSION)\" +-CFLAGS = -Wall -g ++CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" ++CFLAGS ?= -Wall -g + + LD = $(CC) +-LDFLAGS = -g ++LDFLAGS ?= -g + LDLIBS = + + all: picocom diff --git a/comms/picocom/pkg-descr b/comms/picocom/pkg-descr index d335d51d1441..a92107de9cc5 100644 --- a/comms/picocom/pkg-descr +++ b/comms/picocom/pkg-descr @@ -7,4 +7,4 @@ PPP connection scripts (something like the ms-windows "open terminal window before / after dialing" feature). It could also prove useful in many other similar tasks. -WWW: http://code.google.com/p/picocom/ +WWW: https://github.com/npat-efault/picocom/ |