1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/trac-wysiwyg/Makefile
Dmitry Marakasov bdb06fad8a www/trac-*: minor cleanup
- Don't use trac/plugin.mk which is now empty and unneeded
- Add some NO_ARCH'es
- Add/fix some LICENSEs and LICENSE_FILES
- Pet portlint
- Regenerate some patches

Approved by:	portmgr blanket
2016-05-29 01:29:08 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
PORTNAME= wysiwyg
DISTVERSION= 0.4.${SVN_REV}
PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
LOCAL/brooks
PKGNAMEPREFIX= trac-
DIST_SUBDIR= trac
MAINTAINER= ports@FreeBSD.org
COMMENT= WYSIWYG editor for Trac wiki
RUN_DEPENDS= tracd:www/trac
USES= python:2 tar:bzip2
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if !defined(SVN_REV)
.if defined(BOOTSTRAP)
SVN_URL= http://trac-hacks.org/svn/tracwysiwygplugin/0.12/
LANG= "C"
SVN_REV!= svn info ${SVN_URL} | ${GREP} Revision | cut -d' ' -f2
.else
.include "Makefile.svn_rev"
.endif
.endif
.if defined(BOOTSTRAP) || defined(SVN_FETCH)
FETCH_DEPENDS+= svn:devel/subversion
do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} ${SVN_URL} ${WRKSRC}
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev
.endif
.include <bsd.port.post.mk>