mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
- 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
This commit is contained in:
parent
f12b59b362
commit
03ffc1791a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400481
@ -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>
|
||||
|
@ -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
|
||||
|
17
comms/picocom/files/patch-Makefile
Normal file
17
comms/picocom/files/patch-Makefile
Normal file
@ -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
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user