freebsd-ports/editors/rospell/files/patch-BSDmakefile
Ion-Mihai Tetcu 4bf154add7 Update to rospell-2007.00:
- multiwindow editing
- LaTeX support
- table of contents support for C/C++/Javascript
- kloc functionality
- new ctags engine
- code beautifier
- help menu
- context help support for POSIX standard header files
- context help support for LaTeX
- proxy traversing support for webload feature
- several FreeBSD fixes
2007-01-19 17:17:56 +00:00

58 lines
2.2 KiB
Text

--- ./BSDmakefile.orig Fri Jan 19 16:17:31 2007
+++ ./BSDmakefile Fri Jan 19 18:36:12 2007
@@ -1,9 +1,13 @@
###############################################################################
+# $Tecnik: people/itetcu/ports/myports/rospell/BSDmakefile,v 1.4 2007/01/19 16:36:08 itetcu Exp $
# Based on $Id: BSDmakefile,v 1.18 2005/11/20 18:09:54 itetcu Rel $
# Modified for release 2007.00 by rospell team
+# Modified again to be more close to current FreeBSD standards by itetcu
#
# FreeBSD makefile for rospell (http://rospell.sourceforge.net)
-# Written by Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
+# Written by Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
+# FreeBSD committer address: <itetcu@FreeBSD.org>
+#
# Distributed under BSD or GNU licence (your choice).
#
@@ -15,6 +19,7 @@
PREFIX?= /usr/local
BINDIR?= ${PREFIX}/bin
DATADIR?= ${PREFIX}/share/rospell
+DOCSDIR?= ${PREFIX}/share/doc/rospell
X11BASE?= /usr/X11R6
QT_PREFIX?= ${X11BASE}
@@ -22,7 +27,7 @@
CXX?= g++
PTHREAD_CFLAGS?=
PTHREAD_LIBS?= -pthread
-CXXFLAGS?= -O
+CXXFLAGS?= -O2
QTCPPFLAGS?= -I${LOCALBASE}/include -I${PREFIX}/include \
-I${QT_PREFIX}/include -D_GETOPT_H
@@ -81,7 +86,7 @@
@${ECHO_CMD} "#define DF6 \"${DATADIR}/usenix.sty\"" >> dictfiles.h
@${ECHO_CMD} "#define DF7 \"${DATADIR}/usenix.tex\"" >> dictfiles.h
@${ECHO_CMD} "#define DF8 \"${DATADIR}/posixh.tags\"" >> dictfiles.h
- @${ECHO_CMD} "#define DF9 \"${DATADIR}/authors.html\"" >> dictfiles.h
+ @${ECHO_CMD} "#define DF9 \"${DOCSDIR}/authors.html\"" >> dictfiles.h
@${ECHO_CMD} "#define ROSPELL_FREEBSD" >> dictfiles.h
@${ECHO_CMD} "---> Done dictfiles.h."
@@ -330,9 +335,13 @@
@${BSD_INSTALL_DATA} posixh10.info ${DATADIR}
@${BSD_INSTALL_DATA} posixh11.info ${DATADIR}
@${BSD_INSTALL_DATA} posixh.tags ${DATADIR}
- @${BSD_INSTALL_DATA} authors.html ${DATADIR}
+ @${ECHO_CMD} "----> Done."
+ @${ECHO_CMD} "----> Installing docs in ${DOCSDIR} ... "
+ @${MKDIR} ${DOCSDIR}
+ @${BSD_INSTALL_DATA} authors.html ${DOCSDIR}
@${ECHO_CMD} "----> Done."
@${ECHO_CMD} "----> Installing man page ... "
+ @${MKDIR} ${DOCSDIR}
@${BSD_INSTALL_MAN} src/man/rospell.lx ${MANPREFIX}/man/man1/rospell.1
@${ECHO_CMD} "----> Done."
@${ECHO_CMD} "---> Done installing."