1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

x11/xnotify: add hook for out-of-tree patches

https://github.com/phillbush/xnotify/pulls?q=is%3Apr+is%3Aopen+patch+in%3Atitle
This commit is contained in:
Jan Beich 2023-06-10 21:49:53 +00:00
parent f13ad31cb2
commit 985cb080b4

View File

@ -17,6 +17,7 @@ USES= xorg
USE_GITHUB= yes
USE_XORG= x11 xft xinerama
GH_ACCOUNT= phillbush
EXTRA_PATCHES= ${${PORTNAME:tu}_PATCHES}
MANPREFIX= ${PREFIX}/share/man
MAKE_ENV= LOCALINC="${LOCALBASE}/include" \
LOCALLIB="${LOCALBASE}/lib" \
@ -31,6 +32,10 @@ pre-everything::
@${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable"
@${ECHO_MSG} "either in ${.CURDIR:T}/Makefile.local, make.conf(5), environ(7) or command line e.g.,"
@${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_CONF=/path/to/${PORTNAME}/config.h"
@${ECHO_MSG}
@${ECHO_MSG} "To apply your own patches set ${PORTNAME:tu}_PATCHES (like ${PORTNAME:tu}_CONF)"
@${ECHO_MSG} "to a list of files separated by space with optional -pX suffix e.g.,"
@${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_PATCHES='/path/to/foo.patch:-p1'"
post-extract:
# .if exists(...) before bsd.port.mk ignores *_CONF in make.conf(5) and Makefile.local