aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-darcs/Makefile
blob: 239426c8b7947912ea98d79a1a3d9528a6dd51a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# New ports collection makefile for:    darcs
# Date created:             13 April 2003
# Whom:                 Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   darcs
PORTVERSION=    1.0.9
CATEGORIES= devel
MASTER_SITES=   http://darcs.net/

MAINTAINER= haskell@FreeBSD.org
COMMENT=    Yet another replacement for CVS, written in Haskell

BUILD_DEPENDS=  ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl \
        gmp.7:${PORTSDIR}/math/libgmp4 \
        readline.5:${PORTSDIR}/devel/readline

OPTIONS=    SERVER "install server" off
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib -L${PREFIX}/lib/ ${PTHREAD_LIBS}" \
        CFLAGS=""
USE_GMAKE=  yes
MAKEFILE=   GNUmakefile
ALL_TARGET= darcs darcs.1
INSTALL_TARGET= installbin

.include <bsd.port.pre.mk>

.if defined(WITH_SERVER)
BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt
RUN_DEPENDS+=   xsltproc:${PORTSDIR}/textproc/libxslt
INSTALL_TARGET+=    installserver
.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
CGIDIR?=    share/apache/cgi-bin
.else
CGIDIR?=    www/cgi-bin
.endif
PLIST_SUB+= CGIDIR=${CGIDIR} SERVER=""
.else
PLIST_SUB+= SERVER="@comment "
.endif
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base
INSTALL_TARGET+=    installdocs
.endif

MAN1=   darcs.1

.if defined(WITH_SERVER)
post-patch:
    @${REINPLACE_CMD} -e 's|$$(libexecdir)/cgi-bin|${PREFIX}/${CGIDIR}| ; \
        s|darcs/cgi.conf|darcs/cgi.conf.sample|' \
        ${WRKSRC}/${MAKEFILE}
.endif

post-configure:
    @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|' ${WRKSRC}/cgi/darcs.cgi

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/darcs

.include <bsd.port.post.mk>
r> * Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. Thetijl2014-11-301-1/+1 * Update to 10.3.4.kwm2014-11-273-4/+4 * Fix libEGL and libGLESv2 conflict between libEGL/libglesv2 and thekwm2014-11-277-42/+13 * Update mesa to 10.3.3.kwm2014-11-212-5/+5 * Update the "new" Mesa to 10.3.2.kwm2014-10-282-3/+7 * graphics/libGL: Fix Gallium drivers on DragonFly (No-Op for FreeBSD)marino2014-10-233-2/+37 * Enable the new Mesa if the DragonFly version is new enough.kwm2014-10-181-0/+4 * Update Mesa ports to new default of 9.1.7 and more recent version to 10.3.0.kwm2014-10-1762-339/+1676 * Fix the PORTREVISION bump for the lang/gcc update that went badly forgerald2014-09-121-3/+3 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-1/+1 * Catch up with recent MASTERSITE changes.jkim2014-06-181-1/+1 * Move the ARCH = i386 check to bsd.mesalib.mk so it applies to allkwm2014-05-311-0/+5 * graphics/libGL: Improve gallium patches to unbreak DragonFlymarino2014-05-275-4/+14 * N-i-c-o on #freebsd-fr reported that dri.pc doesn't exist in the stagekwm2014-05-221-4/+2 * Enable shared libglapi library and make a port for it. It is used by libGLkwm2014-05-179-175/+32 * Convert all :U to :tu and :L to :tlbapt2014-05-051-3/+1 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-171-4/+3 * - Fix build with stagedir support by removing leftoversmiwi2014-03-081-0/+8 * Add a mirror to avoid failing on clustersbapt2014-01-051-1/+2 * make, make -V MAINTAINER output the correct value again.kwm2013-12-171-1/+1 * Fix graphics/dri on ia64.kwm2013-12-132-4/+13 * Unbreak build with global unset NLS.kwm2013-11-271-1/+1 * Update to 9.1.7.kwm2013-11-273-22/+3 * Unbreak WITH_NEW_XORG patch stage.kwm2013-11-271-1/+1 * - Fix the usage of 'python' to get rid of the implicit lang/pythonmva2013-11-261-0/+2 * The FreeBSD graphics/x11 team proudly presentszeising2013-09-3034-284/+442 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Do not overwrite any existing USES that breaks graphics/dri defining USES=pkg...bapt2013-09-021-1/+1 * - Fix Mesa builds by adding lang/python, since it does not supportmva2013-08-181-0/+3 * - Remove MAKE_JOBS_SAFE variableak2013-08-151-1/+0 * Add a maintainereadler2013-07-041-0/+1 * Fix security issues in xorg client libraries.zeising2013-06-054-4/+82 * The FreeBSD x11 team proudly presentszeising2013-05-258-108/+34 * Make sure bmake respect :U and :L as it used to work in make(1)bapt2013-05-031-0/+2 * Convert g* to USES=pkgconfigbapt2013-04-231-1/+1 * Unbreak: Switch to USES=bison to pick up dependency on bison.zeising2013-03-081-1/+1 * - Fix logic error which caused the gallium-intel driver to be always disabled...swills2013-03-031-7/+3 * Without a build dep on pkgconf, configure failsdougb2012-10-011-0/+1 * - Use PTHREAD_LIBS instead of -lpthreadswills2012-09-142-2/+2 * After a report of an error, mark graphics/libGL as not MAKE_JOBS_SAFEeadler2012-09-041-1/+1 * Solve libGL.so and libglx.so conflict situation between libGL, xorg-server andkwm2012-08-315-2/+54 * Switch from libglut to freeglut and retire libglut. Libglut hasn't beenkwm2012-08-051-10/+3 * Attempt to fix build of dri, libGL, and libdrm on tier-2 archs.linimon2012-07-307-4/+168 * - Unbreak build with clangmiwi2012-06-103-1/+193 * - Please welcome Xorg 7.5.2miwi2012-04-2212-57/+95 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 * -remove MD5ohauer2011-07-031-2/+0 * Weak the patch so clang can build this on amd64.kwm2011-05-121-2/+11 * - Please welcome Xorg 7.5.1miwi2011-02-267-8/+101 * Fix make install; make deinstall installarved2010-08-151-1/+1 * Unbreak the Mesa3D 7.4.4 build for powerpc and sparc64 after the 7.6.1marius2010-03-261-2/+2 * Simplify reference to bsd.mesalib.mk.gerald2010-02-281-1/+1 * Limited Update to Mesa3D 7.6.1 and libdrm 2.4.17.nork2010-02-075-20/+39 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-5/+7 * Update to 7.4.4rnoland2009-06-242-4/+4 * Update to 7.4.3rnoland2009-06-213-5/+4 * - Make following ports MAKE_JOBS_SAFE:miwi2009-05-171-0/+1 * Update to Mesa release 7.4.2rnoland2009-05-152-4/+4 * Update to 7.4.1rnoland2009-05-082-4/+4 * Re-enable DRI on powerpc and sparc64, mainly in order to fixmarius2009-04-112-0/+12 * Update the Mesa ports to 7.4rnoland2009-04-043-5/+4 * Make libGL bring in dri2proto. This should fix a few failures.flz2009-02-031-1/+2 * Make graphics/libGL/bsd.mesalib.mk play nicer with its slave portlinimon2009-02-021-1/+1 * Fix pkg-plistrnoland2009-01-251-7/+0 * Add dependency on dri2proto to the rest of the mesa portsrnoland2009-01-251-1/+1 * Update mesa related ports to 7.3rnoland2009-01-252-4/+4 * - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-244-57/+91 * Update Mesa libraries (GL, GLU and GLw) and dri to 7.0.3.flz2008-04-293-16/+4 * - Remove unneeded XFree86 conflictsmiwi2008-04-231-1/+0 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-5/+5 * Fix dri build on alpha (disable -ffast-math).flz2007-10-251-0/+7 * - Refactor MesaLib ports.flz2007-08-292-58/+93 * Update to 7.0.1.jkim2007-08-162-4/+5 * - Update to 7.0.jkim2007-07-032-6/+5 * Add patch for previous commit which was missed.anholt2007-06-231-0/+12 * Fix the PTHREAD_LIBS substitution for this version of mesa.anholt2007-06-231-2/+2 * Don't conflict with nvidia-driver.flz2007-05-201-2/+2