diff options
author | sat <sat@FreeBSD.org> | 2007-12-15 01:55:34 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-12-15 01:55:34 +0800 |
commit | 6e63a34eefce1a8f32a5620aa6f18d55f732b04d (patch) | |
tree | 4798054d21f26d0f1a878e32991d6f71b35c306a /www | |
parent | 5e2e8bf67274cabc9306c47bddbaf4bffee6be24 (diff) | |
download | freebsd-ports-gnome-6e63a34eefce1a8f32a5620aa6f18d55f732b04d.tar.gz freebsd-ports-gnome-6e63a34eefce1a8f32a5620aa6f18d55f732b04d.tar.zst freebsd-ports-gnome-6e63a34eefce1a8f32a5620aa6f18d55f732b04d.zip |
- Allow tuning of binary name
Diffstat (limited to 'www')
-rw-r--r-- | www/linux-seamonkey/Makefile.common | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/linux-seamonkey/Makefile.common b/www/linux-seamonkey/Makefile.common index 7f08cf1c9a43..0fec1e455271 100644 --- a/www/linux-seamonkey/Makefile.common +++ b/www/linux-seamonkey/Makefile.common @@ -22,8 +22,9 @@ RUN_DEPENDS?= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/ NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 APP_NAME= ${PKGBASE} +BIN_NAME?= ${PORTNAME} USE_LINUX= yes -WRKSRC?= ${WRKDIR}/${PORTNAME} +WRKSRC?= ${WRKDIR}/${BIN_NAME} FDIR= ${PREFIX}/lib/${APP_NAME} COMMON_DIR= ${.CURDIR}/../../www/linux-seamonkey @@ -59,7 +60,7 @@ do-install: @${CP} -pR ${WRKSRC}/ ${FDIR}/ @${CHOWN} -R ${BINOWN}:${BINGRP} ${FDIR}/ @${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${APP_NAME}-run - @${ECHO_CMD} 'exec ${FDIR}/${PORTNAME} "$$@"' >> ${WRKDIR}/${APP_NAME}-run + @${ECHO_CMD} 'exec ${FDIR}/${BIN_NAME} "$$@"' >> ${WRKDIR}/${APP_NAME}-run @${INSTALL_SCRIPT} ${WRKDIR}/${APP_NAME}-run ${PREFIX}/bin/${APP_NAME} @${CP} -R ${LOCALBASE}/lib/npapi/symlinks/${APP_NAME}/ \ ${FDIR}/plugins/ ${_Q} |