diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-03-29 01:33:22 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-03-29 01:33:22 +0800 |
commit | 35b0243c0359d234f22cf256ca9950716053d5a8 (patch) | |
tree | 19928a11e8641bd4edf87b91f4156885c1e8092b /x11-wm/evilwm/Makefile | |
parent | 0559782068c32a921385b62dc04a4d0e62c28f99 (diff) | |
download | freebsd-ports-gnome-35b0243c0359d234f22cf256ca9950716053d5a8.tar.gz freebsd-ports-gnome-35b0243c0359d234f22cf256ca9950716053d5a8.tar.zst freebsd-ports-gnome-35b0243c0359d234f22cf256ca9950716053d5a8.zip |
- Update to 0.99.24
- Cleanup
PR: 95042
Submitted by: Robert <robert@blacquiere.nl>
Diffstat (limited to 'x11-wm/evilwm/Makefile')
-rw-r--r-- | x11-wm/evilwm/Makefile | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/x11-wm/evilwm/Makefile b/x11-wm/evilwm/Makefile index 7b674817c704..f2a627c60ef4 100644 --- a/x11-wm/evilwm/Makefile +++ b/x11-wm/evilwm/Makefile @@ -5,45 +5,34 @@ # $FreeBSD$ # -PORTNAME= evilwm -PORTVERSION= 0.99.17 -CATEGORIES= x11-wm -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}_${PORTVERSION}.orig +PORTNAME= evilwm +PORTVERSION= 0.99.24 +CATEGORIES= x11-wm +MASTER_SITES= http://www.6809.org.uk/evilwm/ MAINTAINER= ports@FreeBSD.org COMMENT= Minimalist window manager based on 9wm -DOCDIR= share/doc/${PORTNAME} -DOCS= ChangeLog README README.vdesk TODO -MAN1= evilwm.1 -PLIST= ${WRKDIR}/pkg-plist USE_X_PREFIX= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig +USE_GCC= 3.4+ -do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include \ - -DMOUSE -DSTDIO -DSOLIDDRAG -DCOLOURMAP -DVWM \ - -DVERSION="\"${PORTVERSION}\"" \ - -L${X11BASE}/lib -o evilwm *.c -lX11 +MAN1= evilwm.1 +PLIST_FILES= bin/evilwm +PORTDOCS= ChangeLog README TODO -pre-install: - ${ECHO_CMD} bin/evilwm > ${PLIST} -.if !defined(NOPORTDOCS) -.for i in ${DOCS} - ${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST} -.endfor - ${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST} -.endif +CFLAGS+= -I${X11BASE}/include + +post-patch: + @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/${MAKEFILE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif |