summaryrefslogtreecommitdiff
path: root/editors/abiword-devel/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-05-12 05:21:11 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-05-12 05:21:11 +0000
commit4c9b800eba23a09278a9d991095e0539dbc7a943 (patch)
tree303d71b2f792eae87909dd9d1a34643d966ad0d3 /editors/abiword-devel/Makefile
parentBack out unapproved commit from an idiot committer who can't (diff)
Fix compilation errors.
PR: 11612 Submitted by: cpiazza@home.net
Notes
Notes: svn path=/head/; revision=18792
Diffstat (limited to 'editors/abiword-devel/Makefile')
-rw-r--r--editors/abiword-devel/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/editors/abiword-devel/Makefile b/editors/abiword-devel/Makefile
index 1977f4322d64..95c88e1b823e 100644
--- a/editors/abiword-devel/Makefile
+++ b/editors/abiword-devel/Makefile
@@ -3,7 +3,7 @@
# Date created: 3 Mar 1999
# Whom: Donald Burr <dburr@FreeBSD.ORG>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1999/05/04 12:26:01 dburr Exp $
#
DISTNAME= abi-0.5.5-src
@@ -22,12 +22,9 @@ RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
DIST_SUBDIR= AbiWord
-WWW_SITE= http://www.abisource.com/
-
WRKSRC= ${WRKDIR}/abi-0.5.5/src
USE_XLIB= YES
USE_GMAKE= YES
-PATCH_STRIP= -p1
# the build is placed in a directory name of the form
# FreeBSD_3.1-RELEASE_i386_OBJ. This variable makes it
@@ -35,16 +32,30 @@ PATCH_STRIP= -p1
# do-install target.
OSDISTDIR= `uname -s`_`uname -r`_`uname -m`_OBJ
+.include <bsd.port.pre.mk>
+
post-patch:
- cd ${WRKDIR} && ln -sf abi-0.5.5 abi
+ @ cd ${WRKDIR} && ln -sf abi-0.5.5 abi
+.if ${OSVERSION} > 310000
+ @${CP} ${WRKSRC}/config/platforms/freebsd.mk \
+ ${WRKSRC}/config/platforms/freebsd.mk.version
+ @${SED} -e s,3.1-RELEASE,`uname -r`,g \
+ ${WRKSRC}/config/platforms/freebsd.mk.version > \
+ ${WRKSRC}/config/platforms/freebsd.mk
+.endif
do-install:
${MKDIR} ${PREFIX}/AbiSuite/bin
${MKDIR} ${PREFIX}/AbiSuite/lib
( cd ${WRKDIR}/abi-0.5.5/dist/${OSDISTDIR}/bin ; for BIN in *; do ${INSTALL_PROGRAM} $${BIN} ${PREFIX}/AbiSuite/bin ; done )
( cd ${WRKDIR}/abi-0.5.5/dist/${OSDISTDIR}/lib ; for LIB in *; do ${INSTALL_DATA} $${LIB} ${PREFIX}/AbiSuite/lib ; done )
+ @${CP} ${WRKDIR}/unixfonts-0.5.4/install.sh \
+ ${WRKDIR}/unixfonts-0.5.4/install.sh.orig
+ @${SED} s,/usr/local,${PREFIX}, \
+ ${WRKDIR}/unixfonts-0.5.4/install.sh.orig > \
+ ${WRKDIR}/unixfonts-0.5.4/install.sh
( cd ${WRKDIR}/unixfonts-0.5.4 ; yes "" | bash ./install.sh )
for BIN in ${PREFIX}/AbiSuite/bin/* ; do ln -sf $${BIN} ${PREFIX}/bin ; done
- @${CAT} ${PKGDIR}/MESSAGE
+ @${CAT} ${PKGDIR}/MESSAGE | ${SED} s,/usr/local,${PREFIX},
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>