svn commit: r359806 - head/devel/c-unit
Daichi GOTO
daichi at FreeBSD.org
Mon Jun 30 07:08:40 UTC 2014
Author: daichi
Date: Mon Jun 30 07:08:39 2014
New Revision: 359806
URL: http://svnweb.freebsd.org/changeset/ports/359806
QAT: https://qat.redports.org/buildarchive/r359806/
Log:
- stagefied
PR: 191481
Submitted by: maintainer
Modified:
head/devel/c-unit/Makefile
head/devel/c-unit/pkg-plist
Modified: head/devel/c-unit/Makefile
==============================================================================
--- head/devel/c-unit/Makefile Mon Jun 30 07:00:36 2014 (r359805)
+++ head/devel/c-unit/Makefile Mon Jun 30 07:08:39 2014 (r359806)
@@ -9,91 +9,44 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= tak.swd at gmail.com
COMMENT= Unit testing framework for C
+LICENSE= LGPL20
+
CONFLICTS= cunit-[0-9]*
GNU_CONFIGURE= yes
-USES= gmake
-USE_AUTOTOOLS= autoheader
+USES= gmake libtool pathfix
+USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize
USE_LDCONFIG= yes
-MAN3= CUnit.3
+AUTOMAKE_ARGS= --add-missing
+LIBTOOLIZE_ARGS=--copy --force --install
+PATHFIX_MAKEFILEIN= Makefile.am
-OPTIONS_DEFINE= DEB AUT BAS CON CUR EXA ITE MEM
-DEB_DESC= Debug interface
+OPTIONS_DEFINE= AUT BAS CON CUR DEB EXA ITE MEM
+OPTIONS_DEFAULT= AUT BAS CON
+OPTIONS_SUB= yes
AUT_DESC= Automated(XML) interface
BAS_DESC= Basic interface
CON_DESC= Console interface
CUR_DESC= Curses interface
-EXA_DESC= Compile example programs
-ITE_DESC= Compile internal test program
+DEB_DESC= Debug interface
+EXA_DESC= Example programs
+ITE_DESC= Internal test program
MEM_DESC= Internal memory tracking
-OPTIONS_DEFAULT= AUT BAS CON
+AUT_CONFIGURE_ENABLE= automated
+BAS_CONFIGURE_ENABLE= basic
+CON_CONFIGURE_ENABLE= console
+CUR_CONFIGURE_ENABLE= curses
+CUR_LDFLAGS= -lcurses
+CUR_USES= ncurses
+DEB_CONFIGURE_ENABLE= debug
+EXA_CONFIGURE_ENABLE= examples
+ITE_CONFIGURE_ENABLE= test
+MEM_CONFIGURE_ENABLE= memtrace
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} \
- 's|/@PACKAGE@/Examples/Automated|/examples/@PACKAGE@/Automated|g' \
- ${WRKSRC}/Examples/AutomatedTest/Makefile.in
- @${REINPLACE_CMD} \
- 's|/@PACKAGE@/Examples/Basic|/examples/@PACKAGE@/Basic|g' \
- ${WRKSRC}/Examples/BasicTest/Makefile.in
- @${REINPLACE_CMD} \
- 's|/@PACKAGE@/Examples/Console|/examples/@PACKAGE@/Console|g' \
- ${WRKSRC}/Examples/ConsoleTest/Makefile.in
- @${REINPLACE_CMD} \
- 's|/@PACKAGE@/Examples/Curses|/examples/@PACKAGE@/Curses|g' \
- ${WRKSRC}/Examples/CursesTest/Makefile.in
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDEB}
-CONFIGURE_ARGS+= --enable-debug
-.endif
-.if ${PORT_OPTIONS:MAUT}
-PLIST_FILES+= include/CUnit/Automated.h
-.else
-CONFIGURE_ARGS+= --disable-automated
-.endif
-.if ${PORT_OPTIONS:MBAS}
-PLIST_FILES+= include/CUnit/Basic.h
-.else
-CONFIGURE_ARGS+= --disable-basic
-.endif
-.if ${PORT_OPTIONS:MCON}
-PLIST_FILES+= include/CUnit/Console.h
-.else
-CONFIGURE_ARGS+= --disable-console
-.endif
-.if ${PORT_OPTIONS:MCUR}
-CONFIGURE_ARGS+= --enable-curses
-PLIST_FILES+= include/CUnit/CUCurses.h
-.endif
-.if ${PORT_OPTIONS:MEXA}
-CONFIGURE_ARGS+= --enable-examples
-.if ${PORT_OPTIONS:MAUT}
-PLIST_FILES+= share/examples/CUnit/Automated/AutomatedTest \
- share/examples/CUnit/Automated/README
-.endif
-.if ${PORT_OPTIONS:MBAS}
-PLIST_FILES+= share/examples/CUnit/Basic/BasicTest \
- share/examples/CUnit/Basic/README
-.endif
-.if ${PORT_OPTIONS:MCON}
-PLIST_FILES+= share/examples/CUnit/Console/ConsoleTest \
- share/examples/CUnit/Console/README
-.endif
-.if ${PORT_OPTIONS:MCUR}
-PLIST_FILES+= share/examples/CUnit/Curses/CursesTest \
- share/examples/CUnit/Curses/README
-.endif
-.endif
-.if ${PORT_OPTIONS:MITE}
-CONFIGURE_ARGS+= --enable-test
-PLIST_FILES+= share/CUnit/Test/test_cunit
-.endif
-.if ${PORT_OPTIONS:MMEM}
-CONFIGURE_ARGS+= --enable-memtrace
-.endif
+ @${REINPLACE_CMD} -e 's|/doc/@PACKAGE@|/share/doc/@PACKAGE@|g' ${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/headers/Makefile.am
+ @${REINPLACE_CMD} -e 's|/@PACKAGE@/Examples/|/examples/@PACKAGE@/|g' ${WRKSRC}/Examples/*/Makefile.am
.include <bsd.port.mk>
Modified: head/devel/c-unit/pkg-plist
==============================================================================
--- head/devel/c-unit/pkg-plist Mon Jun 30 07:00:36 2014 (r359805)
+++ head/devel/c-unit/pkg-plist Mon Jun 30 07:08:39 2014 (r359806)
@@ -1,24 +1,22 @@
+include/CUnit/Automated.h
+include/CUnit/Basic.h
include/CUnit/CUError.h
include/CUnit/CUnit.h
+include/CUnit/Console.h
include/CUnit/MyMem.h
include/CUnit/TestDB.h
include/CUnit/TestRun.h
include/CUnit/Util.h
lib/libcunit.a
-lib/libcunit.la
lib/libcunit.so
lib/libcunit.so.1
+lib/libcunit.so.1.0.1
+man/man3/CUnit.3.gz
share/CUnit/CUnit-List.dtd
share/CUnit/CUnit-List.xsl
share/CUnit/CUnit-Run.dtd
share/CUnit/CUnit-Run.xsl
share/CUnit/Memory-Dump.dtd
share/CUnit/Memory-Dump.xsl
- at dirrmtry share/examples/CUnit/Curses
- at dirrmtry share/examples/CUnit/Console
- at dirrmtry share/examples/CUnit/Basic
- at dirrmtry share/examples/CUnit/Automated
- at dirrmtry share/examples/CUnit
- at dirrmtry share/CUnit/Test
- at dirrm share/CUnit
- at dirrm include/CUnit
+ at dirrmtry include/CUnit
+ at dirrmtry share/CUnit
More information about the svn-ports-all
mailing list