e32eeb8bc9
comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
66 lines
1.8 KiB
Makefile
66 lines
1.8 KiB
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= skencil
|
|
PORTVERSION= 1.0.a784
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PROJECTHOST= sk1
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/alpha_rev/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interactive drawing program
|
|
|
|
LICENSE= LGPL20
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
|
|
${PYTHON_PKGNAMEPREFIX}reportlab2>=0:${PORTSDIR}/print/py-reportlab2 \
|
|
${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
|
|
${PYXML}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}alpha
|
|
|
|
USES= tk desktop-file-utils
|
|
USE_XORG= x11 xext
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTVERSION:R}alpha-py${PYTHON_VER}.egg-info
|
|
|
|
CFLAGS+= -I${TK_INCLUDEDIR} -I${LOCALBASE}/include \
|
|
-L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= README
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
NLS_USES= gettext
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"s|/usr/include|${LOCALBASE}/include|g ; \
|
|
s|/usr/lib|${LOCALBASE}/lib|g ; \
|
|
/tcl_ver/s|8\.[0-9]|${TCL_SHLIB_VER}|g ; \
|
|
/libtcl/s|8\.[0-9]|${TCL_SHLIB_VER}|g ; \
|
|
/libraries/s|tcl_ver\])|tcl_ver, 'intl'])|g ; \
|
|
s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/setup.py
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
@${REINPLACE_CMD} -e 's| + messages_dirs||' \
|
|
${WRKSRC}/setup.py
|
|
.endif
|
|
|
|
post-install:
|
|
.for l in streamfilter paxmodule pstokenize _sketchmodule intl skreadmodule \
|
|
_type1module paxtkinter
|
|
${STRIP_CMD} \
|
|
${STAGEDIR}${PYTHON}${PYTHON_SITELIBDIR}/skencil/Sketch/Modules/${l}.so
|
|
.endfor
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|