mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-11 23:25:17 +00:00
89b45c708f
which allows the user to configure any programs he or she desires to handle any MIME type data embedded in web pages. PR: ports/18357 Submitted by: Conrad Sabatier <conrads@home.com>
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
# New ports collection makefile for: xswallow
|
|
# Date created: 1 May 2000
|
|
# Whom: Conrad Sabatier <conrads@home.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xswallow
|
|
PORTVERSION= 1.0.17
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/X/
|
|
DISTNAME= XswallowSource-1.0.17
|
|
|
|
MAINTAINER= conrads@home.com
|
|
|
|
WRKSRC= ${WRKDIR}/PluginSDK30b5/xswallow
|
|
|
|
PORTOBJFORMAT= aout
|
|
|
|
#can't use ${INSTALL_PROGRAM} with aout binaries, do strip separately
|
|
|
|
STRIP= /usr/libexec/aout/strip
|
|
|
|
#Makefile in distribution doesn't link properly
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -o xswallow.so -aout \
|
|
-shared -nostdlib -DXP_UNIX -I../include \
|
|
-I${X11BASE}/include -L/usr/lib/compat/aout -lgcc \
|
|
UnixShell.c stubs.c
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/netscape/plugins
|
|
${MKDIR} ${PREFIX}/share/examples/xswallow
|
|
|
|
${INSTALL} ${COPY} ${WRKSRC}/xswallow.so \
|
|
${PREFIX}/lib/netscape/plugins
|
|
${STRIP} ${PREFIX}/lib/netscape/plugins/xswallow.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xswallow.conf \
|
|
${PREFIX}/share/examples/xswallow
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/xswallow
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xswallow
|
|
.endif
|
|
|
|
post-install:
|
|
@echo
|
|
@echo XSwallow plugin was installed in ${PREFIX}/lib/netscape/plugins.
|
|
@echo If your Netscape installation uses a different location,
|
|
@echo then move xswallow.so from the above location to there.
|
|
@echo
|
|
@echo You should copy the sample configuration file
|
|
@echo ${PREFIX}/share/examples/xswallow/xswallow.conf
|
|
@echo to your ~/.netscape directory.
|
|
@echo
|
|
@echo More documentation and some pages for testing your
|
|
@echo configuration are available at
|
|
@echo
|
|
@echo WWW: http://skynet.csn.ul.ie/~caolan/docs/XSwallow.html
|
|
@echo
|
|
|
|
.include <bsd.port.mk>
|