aboutsummaryrefslogtreecommitdiff
path: root/databases/sqsh
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-12-31 12:59:50 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-12-31 12:59:50 +0000
commit7047a19e5159c5ce246f89c8b7c73fb613b53019 (patch)
tree1dab1da74325c17835108d6ba2f21d81267ad15e /databases/sqsh
parentf396dfff5bf08d24503c2d4082893a2267a01f41 (diff)
downloadports-7047a19e5159c5ce246f89c8b7c73fb613b53019.tar.gz
ports-7047a19e5159c5ce246f89c8b7c73fb613b53019.zip
Notes
Diffstat (limited to 'databases/sqsh')
-rw-r--r--databases/sqsh/Makefile18
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>