- Update to 1.7.2 [1]
- Refactor pkg-plist as PLIST_{FILES|DIRS} - Install the example regardless of NOPORTDOCS PR: ports/80772 [1] Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1]
This commit is contained in:
parent
c4219ed0e5
commit
582264dc7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134942
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= xbindkeys
|
||||
PORTVERSION= 1.7.1
|
||||
PORTVERSION= 1.7.2
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://hocwp.free.fr/xbindkeys/
|
||||
|
||||
@ -28,6 +28,10 @@ WISH= ${LOCALBASE}/bin/wish8.4
|
||||
OPTIONS= GUILE "Guile support" off \
|
||||
TCLTK "Tcl/Tk support" off
|
||||
|
||||
PEXAMPLESDIR= ${EXAMPLESDIR:S,^${PREFIX}/,,}
|
||||
PLIST_FILES= bin/xbindkeys ${PEXAMPLESDIR}/xbindkeysrc
|
||||
PLIST_DIRS= ${PEXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_GUILE)
|
||||
@ -39,19 +43,16 @@ CONFIGURE_ARGS+= --disable-guile
|
||||
.if defined(WITH_TCLTK)
|
||||
RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
||||
MAN1+= xbindkeys_show.1
|
||||
PLIST_SUB+= TCLTK=""
|
||||
PLIST_FILES+= bin/xbindkeys_show
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-tk
|
||||
PLIST_SUB+= TCLTK="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (xbindkeys-1.7.1.tar.gz) = 9176ee5d331160dc3dfafc41e8ec6925
|
||||
SIZE (xbindkeys-1.7.1.tar.gz) = 115892
|
||||
MD5 (xbindkeys-1.7.2.tar.gz) = 7aead9049d972221b879f22718528690
|
||||
SIZE (xbindkeys-1.7.2.tar.gz) = 110355
|
||||
|
@ -1,4 +0,0 @@
|
||||
bin/xbindkeys
|
||||
%%TCLTK%%bin/xbindkeys_show
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/xbindkeysrc
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user