mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Adopt port & clean up
- Adopt the port as it is being returned to the pool. [1] - Remove a patchfile. MAKE_ARGS are enough. - Update manpage installation path. - Improve style. PR: 244456 [1] Approved by: maintainer
This commit is contained in:
parent
15a52217a5
commit
762fd31e23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527229
@ -2,10 +2,11 @@
|
||||
|
||||
PORTNAME= sent
|
||||
PORTVERSION= 1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://dl.suckless.org/tools/
|
||||
|
||||
MAINTAINER= neel@neelc.org
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
COMMENT= Simple plaintext presentation tool
|
||||
|
||||
LICENSE= ISCL
|
||||
@ -14,15 +15,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig
|
||||
RUN_DEPENDS= 2ff:graphics/farbfeld
|
||||
|
||||
USES= xorg
|
||||
USES= localbase xorg
|
||||
USE_XORG= x11 xft
|
||||
|
||||
MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \
|
||||
CFLAGS+= -I${LOCALBASE}/include/freetype2
|
||||
|
||||
MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/share/man" \
|
||||
X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib"
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_FILES= bin/sent \
|
||||
man/man1/sent.1.gz
|
||||
share/man/man1/sent.1.gz
|
||||
PORTDOCS= README.md
|
||||
PORTEXAMPLES= example \
|
||||
nyan.png \
|
||||
@ -35,10 +38,10 @@ post-install:
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- config.mk.orig 2018-02-01 17:23:54 UTC
|
||||
+++ config.mk
|
||||
@@ -16,8 +16,8 @@ LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconf
|
||||
# OpenBSD (uncomment)
|
||||
#INCS = -I. -I${X11INC} -I${X11INC}/freetype2
|
||||
# FreeBSD (uncomment)
|
||||
-#INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC}
|
||||
-#LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
|
||||
+INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC}
|
||||
+LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
|
Loading…
Reference in New Issue
Block a user