diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2008-03-24 10:05:57 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2008-03-24 10:05:57 +0000 |
commit | e5c6a0733e76854c04e7ed5816b007c07f472049 (patch) | |
tree | fd7cfdc9cdfa66d920addee0acb741d485039070 /emulators | |
parent | 568ed45328432f6a168868afce16b54a6af171da (diff) |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/tilem/Makefile | 30 | ||||
-rw-r--r-- | emulators/tilem/pkg-plist | 2 |
2 files changed, 30 insertions, 2 deletions
diff --git a/emulators/tilem/Makefile b/emulators/tilem/Makefile index 1fcb5c55e341..41bb9e41465f 100644 --- a/emulators/tilem/Makefile +++ b/emulators/tilem/Makefile @@ -7,7 +7,7 @@ PORTNAME= tilem PORTVERSION= 0.973 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= SF @@ -19,4 +19,30 @@ GNU_CONFIGURE= yes USE_GMAKE= yes 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> diff --git a/emulators/tilem/pkg-plist b/emulators/tilem/pkg-plist index 6c8df7f1024a..8015e67fa5f3 100644 --- a/emulators/tilem/pkg-plist +++ b/emulators/tilem/pkg-plist @@ -1,3 +1,5 @@ +bin/neosign +bin/tcc bin/tilem %%DATADIR%%/data/x2syms %%DATADIR%%/data/x3keys |