mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
parent
47737236d5
commit
f0710f6344
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48943
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= qhacc
|
||||
PORTVERSION= 1.0
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
ftp://ftp.ostrich-emulators.cx/qhacc/
|
||||
@ -17,11 +17,19 @@ MAINTAINER= ports@FreeBSD.org
|
||||
USE_QT_VER= 2
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= QTDIR="${X11BASE}"
|
||||
CONFIGURE_ARGS= --with-qt-moc=${X11BASE}/bin \
|
||||
--with-qt-libs=${X11BASE}/lib
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/src/moc_*.cpp
|
||||
|
||||
pre-patch:
|
||||
.for file in configure src/Makefile.in
|
||||
@${PERL} -pi -e 's|/moc|/${MOC:T}|g ; \
|
||||
s|-lqt|-l${QTNAME}|g ; \
|
||||
s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin
|
||||
@${MKDIR} ${DATADIR}
|
||||
|
@ -1 +1 @@
|
||||
MD5 (qhacc-1.0.tar.gz) = e695e4421aca690fa29e38e90a1ec96f
|
||||
MD5 (qhacc-1.1.tar.gz) = 53a3b31a236c8fd43b690e0f275fd5bf
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- src/Makefile.in.orig Wed Nov 15 04:44:04 2000
|
||||
+++ src/Makefile.in Wed Nov 15 05:01:56 2000
|
||||
@@ -85,10 +85,10 @@
|
||||
INCLUDES = $(all_includes) -I$(QTINCDIR)
|
||||
LDFLAGS =
|
||||
qhacc_LDFLAGS = -L$(QTLIBDIR) $(LDFLAGS)
|
||||
-qhacc_LDADD = -lqt
|
||||
-MOC = $(QTMOCDIR)/moc
|
||||
+qhacc_LDADD = -lqt2
|
||||
+MOC = $(QTMOCDIR)/moc2
|
||||
|
||||
-CXXFLAGS = -O2 -Wall $(MYFLAGS)
|
||||
+CXXFLAGS = @CXXFLAGS@ $(MYFLAGS)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
@ -1,29 +0,0 @@
|
||||
--- configure.orig Tue Aug 14 01:21:28 2001
|
||||
+++ configure Sat Aug 18 23:45:43 2001
|
||||
@@ -2197,7 +2197,7 @@
|
||||
|
||||
for dir in $with_qt_moc
|
||||
do
|
||||
- if test -f $dir/moc
|
||||
+ if test -f $dir/moc2
|
||||
then
|
||||
qtmoc=$dir
|
||||
echo "found in $qtmoc"
|
||||
@@ -2231,7 +2231,7 @@
|
||||
|
||||
for dir in $with_qt_libs
|
||||
do
|
||||
- if test -f $dir/libqt.so.2 -o "$dir/libqt.so.2.*" != "$dir/libqt.so.2.\*"
|
||||
+ if test -f $dir/libqt.so
|
||||
then
|
||||
qtlibs=$dir
|
||||
echo "found in $qtlibs"
|
||||
@@ -2265,7 +2265,7 @@
|
||||
|
||||
for dir in $with_qt_incs
|
||||
do
|
||||
- if test -f $dir/qnamespace.h
|
||||
+ if test -f $dir/qt2/qnamespace.h
|
||||
then
|
||||
qtincs=$dir
|
||||
echo "found in $qtincs"
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= qhacc
|
||||
PORTVERSION= 1.0
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
ftp://ftp.ostrich-emulators.cx/qhacc/
|
||||
@ -17,11 +17,19 @@ MAINTAINER= ports@FreeBSD.org
|
||||
USE_QT_VER= 2
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= QTDIR="${X11BASE}"
|
||||
CONFIGURE_ARGS= --with-qt-moc=${X11BASE}/bin \
|
||||
--with-qt-libs=${X11BASE}/lib
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/src/moc_*.cpp
|
||||
|
||||
pre-patch:
|
||||
.for file in configure src/Makefile.in
|
||||
@${PERL} -pi -e 's|/moc|/${MOC:T}|g ; \
|
||||
s|-lqt|-l${QTNAME}|g ; \
|
||||
s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin
|
||||
@${MKDIR} ${DATADIR}
|
||||
|
@ -1 +1 @@
|
||||
MD5 (qhacc-1.0.tar.gz) = e695e4421aca690fa29e38e90a1ec96f
|
||||
MD5 (qhacc-1.1.tar.gz) = 53a3b31a236c8fd43b690e0f275fd5bf
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- src/Makefile.in.orig Wed Nov 15 04:44:04 2000
|
||||
+++ src/Makefile.in Wed Nov 15 05:01:56 2000
|
||||
@@ -85,10 +85,10 @@
|
||||
INCLUDES = $(all_includes) -I$(QTINCDIR)
|
||||
LDFLAGS =
|
||||
qhacc_LDFLAGS = -L$(QTLIBDIR) $(LDFLAGS)
|
||||
-qhacc_LDADD = -lqt
|
||||
-MOC = $(QTMOCDIR)/moc
|
||||
+qhacc_LDADD = -lqt2
|
||||
+MOC = $(QTMOCDIR)/moc2
|
||||
|
||||
-CXXFLAGS = -O2 -Wall $(MYFLAGS)
|
||||
+CXXFLAGS = @CXXFLAGS@ $(MYFLAGS)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES =
|
@ -1,29 +0,0 @@
|
||||
--- configure.orig Tue Aug 14 01:21:28 2001
|
||||
+++ configure Sat Aug 18 23:45:43 2001
|
||||
@@ -2197,7 +2197,7 @@
|
||||
|
||||
for dir in $with_qt_moc
|
||||
do
|
||||
- if test -f $dir/moc
|
||||
+ if test -f $dir/moc2
|
||||
then
|
||||
qtmoc=$dir
|
||||
echo "found in $qtmoc"
|
||||
@@ -2231,7 +2231,7 @@
|
||||
|
||||
for dir in $with_qt_libs
|
||||
do
|
||||
- if test -f $dir/libqt.so.2 -o "$dir/libqt.so.2.*" != "$dir/libqt.so.2.\*"
|
||||
+ if test -f $dir/libqt.so
|
||||
then
|
||||
qtlibs=$dir
|
||||
echo "found in $qtlibs"
|
||||
@@ -2265,7 +2265,7 @@
|
||||
|
||||
for dir in $with_qt_incs
|
||||
do
|
||||
- if test -f $dir/qnamespace.h
|
||||
+ if test -f $dir/qt2/qnamespace.h
|
||||
then
|
||||
qtincs=$dir
|
||||
echo "found in $qtincs"
|
Loading…
Reference in New Issue
Block a user