mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
d750615763
PR: ports/101613 Submitted by: alepulver
36 lines
879 B
Makefile
36 lines
879 B
Makefile
# New ports collection makefile for: py-MirrorProjectRandomImageWidget
|
|
# Date created: August 03, 2004
|
|
# Whom: Aaron Straup Cope ascope@cpan.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME=mp-random
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net python
|
|
MASTER_SITES= http://mirrorproject.com/widget/
|
|
PKGNAMEPREFIX= py-
|
|
DISTNAME= MirrorProjectRandomImageWidget-src-${PORTVERSION}
|
|
|
|
MAINTAINER= randomimage-widget@mirrorproject.com
|
|
COMMENT= Display random Mirror Project images on your desktop
|
|
|
|
USE_PYTHON= yes
|
|
USE_X_PREFIX= yes
|
|
USE_WX= 2.4
|
|
WX_COMPS= python
|
|
NO_BUILD= yes
|
|
|
|
pre-install:
|
|
${PRINTF} "#!${PYTHON_CMD}\n" > ${WRKSRC}/mp-random
|
|
${CAT} ${WRKSRC}/MirrorProjectRandomImageWidget.py >> \
|
|
${WRKSRC}/mp-random
|
|
${CHMOD} 0755 ${WRKSRC}/mp-random
|
|
|
|
do-install:
|
|
${ECHO} "Installing ${PREFIX}/bin/mp-random"
|
|
${CP} ${WRKSRC}/mp-random ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|