1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Modernize the port: uses USES, etc.

- Stagify the port

Submitted by:	Brian Callahan <bcallah@cvs.openbsd.org>
Approved by:	maintainer timeout (> 1 month)
This commit is contained in:
Eitan Adler 2013-12-02 05:42:56 +00:00
parent db6429a261
commit 1bdc64ce5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335452
2 changed files with 5 additions and 27 deletions

View File

@ -10,10 +10,11 @@ MAINTAINER= dhn@FreeBSD.org
COMMENT= Dumb Terminal Emulator
ALL_TARGET= picocom
USE_GMAKE= yes
USES= gmake
PLIST_FILES= bin/picocom
MAN8= picocom.8
PLIST_FILES= bin/picocom man/man8/picocom.8.gz
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
.include <bsd.port.mk>

View File

@ -1,23 +0,0 @@
--- ./Makefile.orig 2010-05-29 00:39:52.000000000 +0200
+++ ./Makefile 2011-03-30 22:23:36.000000000 +0200
@@ -1,6 +1,9 @@
VERSION=1.6
+BIN = $(PREFIX)/bin
+MAN8 = $(PREFIX)/man/man8
+
# CC = gcc
CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" \
-DHIGH_BAUD
@@ -43,3 +46,10 @@
rm -f picocom.8.html
rm -f picocom.8.ps
rm -f CHANGES
+
+install:
+ install -d $(BIN)
+ install -o root picocom $(BIN)
+ install -d $(MAN8)
+ install -o root picocom.8 $(MAN8)
+