diff options
author | antoine <antoine@FreeBSD.org> | 2013-12-31 20:59:50 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-12-31 20:59:50 +0800 |
commit | 20a6acd24c685510d91bfb9c91fe6c47dd60acd6 (patch) | |
tree | 1dab1da74325c17835108d6ba2f21d81267ad15e /databases | |
parent | b95988daa49b693aa54bdfefb6287c79f50545a7 (diff) | |
download | freebsd-ports-gnome-20a6acd24c685510d91bfb9c91fe6c47dd60acd6.tar.gz freebsd-ports-gnome-20a6acd24c685510d91bfb9c91fe6c47dd60acd6.tar.zst freebsd-ports-gnome-20a6acd24c685510d91bfb9c91fe6c47dd60acd6.zip |
- Stage support
- Use OPTIONS helpers
Diffstat (limited to 'databases')
-rw-r--r-- | databases/sqsh/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile index 2726111cffed..95ac2e871a80 100644 --- a/databases/sqsh/Makefile +++ b/databases/sqsh/Makefile @@ -22,24 +22,18 @@ CONFIGURE_ENV= SYBASE="${LOCALBASE}" CONFIGURE_ARGS= --with-readline ALL_TARGET= build -MAN1= sqsh.1 -PLIST_FILES= bin/sqsh etc/sqshrc.default +PLIST_FILES= bin/sqsh etc/sqshrc.default man/man1/sqsh.1.gz -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MX11} -USES+= motif -CONFIGURE_ARGS+= --with-motif --with-x -.endif +X11_USES= motif +X11_CONFIGURE_ON= --with-motif --with-x post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/global.sqshrc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${MANPREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/doc/global.sqshrc ${PREFIX}/etc/sqshrc.default + ${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/doc/global.sqshrc ${STAGEDIR}${PREFIX}/etc/sqshrc.default .include <bsd.port.mk> |