aboutsummaryrefslogtreecommitdiff
path: root/www/linux-seamonkey
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-04-20 08:27:19 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-04-20 08:27:19 +0000
commit23796d54f7c77c8ee3927a81a8d01f12022a1dd7 (patch)
tree091a1b362075d6b45ed1349d6d13a06fabd3913a /www/linux-seamonkey
parent30536eed1730822fee444af1269d7213ededebdf (diff)
downloadports-23796d54f7c77c8ee3927a81a8d01f12022a1dd7.tar.gz
ports-23796d54f7c77c8ee3927a81a8d01f12022a1dd7.zip
Notes
Diffstat (limited to 'www/linux-seamonkey')
-rw-r--r--www/linux-seamonkey/Makefile.common6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/linux-seamonkey/Makefile.common b/www/linux-seamonkey/Makefile.common
index e0f7e57d203e..7f08cf1c9a43 100644
--- a/www/linux-seamonkey/Makefile.common
+++ b/www/linux-seamonkey/Makefile.common
@@ -39,15 +39,20 @@ DESKTOP_SUFFIX?= (Linux)
_A= >> ${TMPPLIST}
_Q= 2>/dev/null || true
+.if !target(post-extract)
post-extract:
@${RM} -rf ${WRKSRC}/updates
+.endif
.if ${CATEGORIES:Mwww}
+.if !target(post-patch)
post-patch:
@${ECHO} 'pref("general.useragent.vendor", "'${OPSYS}'");' >> ${PREFS_FILE}
@${ECHO} 'pref("general.useragent.vendorSub", "'${ARCH}'");' >> ${PREFS_FILE}
.endif
+.endif
+.if !target(do-install)
do-install:
@${INSTALL} -d ${FDIR} ${PREFIX}/share/applications
@${INSTALL_DATA} ${WRKDIR}/${APP_NAME}.desktop ${PREFIX}/share/applications/
@@ -60,6 +65,7 @@ do-install:
${FDIR}/plugins/ ${_Q}
@${CP} -R ${LOCALBASE}/lib/xpi/symlinks/${APP_NAME}/ \
${FDIR}/extensions/ ${_Q}
+.endif
# Maintainer section
create-plist: build