mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
- Fix permissions of installed binary (previously, "make package" would
fail if performed by non-root) - Install couple of auxiliary programs - Better respect CFLAGS - Introduce a knob to build with external linking capability - Bump PORTREVISION
This commit is contained in:
parent
568ed45328
commit
e5c6a0733e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209676
2 changed files with 30 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= tilem
|
PORTNAME= tilem
|
||||||
PORTVERSION= 0.973
|
PORTVERSION= 0.973
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= emulators
|
CATEGORIES= emulators
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF
|
||||||
|
|
||||||
|
@ -19,4 +19,30 @@ GNU_CONFIGURE= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
OPTIONS= TICABLES "Use ticables2 library for external linking" off
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_TICABLES)
|
||||||
|
LIB_DEPENDS+= ticables2.1:${PORTSDIR}/comms/libticables2
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-ticables
|
||||||
|
.endif
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
# Set more sane permissions for main executable
|
||||||
|
@${REINPLACE_CMD} -e 's,711,555,' \
|
||||||
|
${WRKSRC}/src/tilem/Makefile.in
|
||||||
|
# Honor CFLAGS
|
||||||
|
@${REINPLACE_CMD} -e 's,CPPFLAGS) -O.,CPPFLAGS),' \
|
||||||
|
${WRKSRC}/src/tilem/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's,-Wall,${CFLAGS},' \
|
||||||
|
${WRKSRC}/src/utils/Makefile.in
|
||||||
|
# Remove conflicting prototype
|
||||||
|
@${REINPLACE_CMD} '5,13d' ${WRKSRC}/src/tilem/core/dep/link.h
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/neosign ${WRKSRC}/bin/tcc \
|
||||||
|
${PREFIX}/bin
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
bin/neosign
|
||||||
|
bin/tcc
|
||||||
bin/tilem
|
bin/tilem
|
||||||
%%DATADIR%%/data/x2syms
|
%%DATADIR%%/data/x2syms
|
||||||
%%DATADIR%%/data/x3keys
|
%%DATADIR%%/data/x3keys
|
||||||
|
|
Loading…
Add table
Reference in a new issue