- Update to version 0.6 [1]
- Support staging [1] - Respect CFLAGS PR: ports/185903 [1] Submitted by: maintainer
This commit is contained in:
parent
192712b7da
commit
ac7f329881
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341784
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= tabbed
|
||||
PORTVERSION= 0.3
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://dl.suckless.org/tools/
|
||||
|
||||
@ -13,11 +13,12 @@ LICENSE= MIT
|
||||
|
||||
USE_XORG= x11
|
||||
|
||||
MAN1= tabbed.1
|
||||
PLIST_FILES= bin/tabbed
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PLIST_FILES= bin/tabbed \
|
||||
man/man1/tabbed.1.gz
|
||||
PORTDOCS= LICENSE README
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-everything::
|
||||
@${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:"
|
||||
@${ECHO_MSG} "make TABBED_CONF=/path/to/tabbed/config.h install clean"
|
||||
@ -27,13 +28,11 @@ post-extract:
|
||||
@${ECHO_MSG} "creating config.h from ${TABBED_CONF}"
|
||||
@${CP} ${TABBED_CONF} ${WRKSRC}/config.h
|
||||
.endif
|
||||
@${REINPLACE_CMD} 's|-std=c99 -pedantic -Wall -O0|${CFLAGS}|' \
|
||||
${WRKSRC}/config.mk
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
|
||||
@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (tabbed-0.3.tar.gz) = bb72aa6e4831e0aadee8a6232d8532a548e736236bbaaed970e77fb5d3177ff0
|
||||
SIZE (tabbed-0.3.tar.gz) = 9177
|
||||
SHA256 (tabbed-0.6.tar.gz) = 7651ea3acbec5d6a25469e8665da7fc70aba2b4fa61a2a6a5449eafdfd641c42
|
||||
SIZE (tabbed-0.6.tar.gz) = 12926
|
||||
|
@ -1,25 +1,39 @@
|
||||
--- config.mk.orig 2010-09-03 23:40:32.000000000 -0500
|
||||
+++ config.mk 2010-09-03 23:42:18.000000000 -0500
|
||||
@@ -4,12 +4,12 @@
|
||||
# Customize below to fit your system
|
||||
|
||||
# paths
|
||||
-PREFIX = /usr/local
|
||||
-MANPREFIX = ${PREFIX}/share/man
|
||||
+PREFIX?= /usr/local
|
||||
+MANPREFIX = ${PREFIX}/man
|
||||
|
||||
# includes and libs
|
||||
-INCS = -I. -I/usr/include
|
||||
-LIBS = -L/usr/lib -lc -lX11
|
||||
+INCS = -I. -I/usr/include -I/usr/local/include
|
||||
+LIBS = -L/usr/lib -L/usr/local/lib -lc -lX11
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
||||
@@ -21,4 +21,4 @@
|
||||
#LDFLAGS = ${LIBS}
|
||||
|
||||
# compiler and linker
|
||||
-CC = cc
|
||||
+CC?= cc
|
||||
*** config.mk.orig 2014-01-19 21:53:24.000000000 +0400
|
||||
--- config.mk 2014-01-19 22:40:13.000000000 +0400
|
||||
***************
|
||||
*** 5,15 ****
|
||||
|
||||
# paths
|
||||
PREFIX = /usr/local
|
||||
! MANPREFIX = ${PREFIX}/share/man
|
||||
|
||||
# includes and libs
|
||||
! INCS = -I. -I/usr/include
|
||||
! LIBS = -L/usr/lib -lc -lX11
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
|
||||
--- 5,15 ----
|
||||
|
||||
# paths
|
||||
PREFIX = /usr/local
|
||||
! MANPREFIX = ${PREFIX}/man
|
||||
|
||||
# includes and libs
|
||||
! INCS = -I. -I/usr/local/include
|
||||
! LIBS = -L/usr/local/lib -lc -lX11
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
|
||||
***************
|
||||
*** 21,25 ****
|
||||
#LDFLAGS = ${LIBS}
|
||||
|
||||
# compiler and linker
|
||||
! CC = cc
|
||||
|
||||
--- 21,25 ----
|
||||
#LDFLAGS = ${LIBS}
|
||||
|
||||
# compiler and linker
|
||||
! CC?= cc
|
||||
|
Loading…
Reference in New Issue
Block a user