svn commit: r367962 - head/astro/boinc-astropulse
Tijl Coosemans
tijl at FreeBSD.org
Thu Sep 11 19:17:43 UTC 2014
Author: tijl
Date: Thu Sep 11 19:17:42 2014
New Revision: 367962
URL: http://svnweb.freebsd.org/changeset/ports/367962
QAT: https://qat.redports.org/buildarchive/r367962/
Log:
- Add USES=libtool
- Replace pre-configure with standard USE_AUTOTOOLS
- Remove CFLAGS that are already default
- pkg-plist fixes
Modified:
head/astro/boinc-astropulse/Makefile
head/astro/boinc-astropulse/pkg-plist
Modified: head/astro/boinc-astropulse/Makefile
==============================================================================
--- head/astro/boinc-astropulse/Makefile Thu Sep 11 19:08:46 2014 (r367961)
+++ head/astro/boinc-astropulse/Makefile Thu Sep 11 19:17:42 2014 (r367962)
@@ -3,7 +3,7 @@
PORTNAME= boinc-astropulse
PORTVERSION= 6.01
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_LOCAL} \
ftp://rene-ladan.nl/pub/distfiles/
@@ -21,16 +21,14 @@ BUILD_DEPENDS= ${LOCALBASE}/include/fftw
RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float
-USES= tar:xz gmake pkgconfig
-USE_AUTOTOOLS= autoconf:env automake:env libtool
GNU_CONFIGURE= yes
+USES= gmake libtool pkgconfig tar:xz
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS= -a -c -f
WRKSRC= ${WRKDIR}/${DISTNAME}/client
-CFLAGS+= -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include \
- -L${LOCALBASE}/lib
-.if defined(CPUTYPE)
-CFLAGS+= -march=${CPUTYPE}
-.endif
+CPPFLAGS+= -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
BOINC_CLIENT_USER?= boinc
@@ -54,11 +52,6 @@ X11_CONFIGURE_ENABLE= graphics
BUILD_DEPENDS+= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client
.endif
-.if ${ARCH} == amd64 || ${ARCH} == i386
-# comment out if world is built with clang and port with gcc
-CFLAGS+= -mtune=native
-.endif
-
SETI_WORK!= cd ${.CURDIR}/../boinc-setiathome-v7 && ${MAKE} -V WRKSRC
CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}" \
BOINC_DIR="${NONEXISTENT}" \
@@ -82,9 +75,6 @@ PLIST_SUB+= AP_BINARY=${AP_BINARY} \
BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \
BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP}
-pre-configure:
- (cd ${WRKSRC} ; ./_autosetup)
-
do-install:
${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects
${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}
Modified: head/astro/boinc-astropulse/pkg-plist
==============================================================================
--- head/astro/boinc-astropulse/pkg-plist Thu Sep 11 19:08:46 2014 (r367961)
+++ head/astro/boinc-astropulse/pkg-plist Thu Sep 11 19:17:42 2014 (r367962)
@@ -5,4 +5,6 @@ projects/%%SETI_SITE%%/%%AP_BINARY%%
%%X11%%projects/%%SETI_SITE%%/ap_graphics
@dirrmtry projects/%%SETI_SITE%%
@dirrmtry projects
- at exec chown -R %%BOINC_CLIENT_USER%%:%%BOINC_CLIENT_GROUP%% projects/
+ at owner root
+ at group wheel
+ at cwd
More information about the svn-ports-head
mailing list