mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
sysutils/socket: support stage
PR: 185380 Submitted by: takefu airport fm Approved by: maintainer (timeout)
This commit is contained in:
parent
62c80df379
commit
1e4c090b94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358877
@ -5,17 +5,23 @@ PORTNAME= socket
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils net ipv6
|
||||
MASTER_SITES= http://wolfram.schneider.org/src/
|
||||
MASTER_SITES= http://wolfram.schneider.org/src/\
|
||||
http://people.freebsd.org/~wosch/src/
|
||||
|
||||
MAINTAINER= wosch@FreeBSD.org
|
||||
COMMENT= Create TCP socket and connect to stdin/out
|
||||
|
||||
MAKE_ENV+= SWITCHES="-DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall"
|
||||
MAN1= socket.1
|
||||
LICENSE= GPLv1
|
||||
|
||||
MAKE_ENV+= SWITCHES="-DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall"
|
||||
PLIST_FILES= bin/socket man/man1/socket.1.gz
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= README
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}/
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
sysutils/socket/files/patch-Makefile
Normal file
11
sysutils/socket/files/patch-Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig 1992-09-10 23:59:31.000000000 +0900
|
||||
+++ Makefile 2013-12-02 12:47:26.000000000 +0900
|
||||
@@ -13,7 +13,7 @@
|
||||
INSTALLBINMODE = 755
|
||||
INSTALLMANPATH = $(INSTALLBASE)/man
|
||||
INSTALLMANMODE = 444
|
||||
-CC = cc
|
||||
+#CC = ${CC}
|
||||
CFLAGS = $(SWITCHES) -O
|
||||
LDFLAGS = $(SWITCHES) -s
|
||||
|
@ -13,7 +13,7 @@
|
||||
### socket.1 in /usr/local/man/man1/socket.1
|
||||
### Make sure the target directories exist before doing a "make install".
|
||||
|
||||
! INSTALLBASE = ${PREFIX}
|
||||
! INSTALLBASE = ${DESTDIR}${PREFIX}
|
||||
INSTALLBINPATH = $(INSTALLBASE)/bin
|
||||
INSTALLBINMODE = 755
|
||||
INSTALLMANPATH = $(INSTALLBASE)/man
|
||||
|
@ -1,3 +0,0 @@
|
||||
bin/socket
|
||||
share/doc/socket/README
|
||||
@dirrm share/doc/socket
|
Loading…
Reference in New Issue
Block a user