mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
6d5cee2811
Submitted by: bento
30 lines
626 B
Makefile
30 lines
626 B
Makefile
# New ports collection makefile for: pwm
|
|
# Date created: 02 Oct 2000
|
|
# Whom: Neil Blakey-Milner
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pwm
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://www.students.tut.fi/~tuomov/dl/
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
|
|
|
USE_XLIB= YES
|
|
USE_GMAKE= YES
|
|
|
|
MAN1= pwm.1x
|
|
|
|
post-patch:
|
|
@perl -i -pe 's#^DOCDIR.*$$#DOCDIR=${PREFIX}/share/doc#' ${WRKSRC}/Makefile
|
|
@perl -i -p \
|
|
-e 's#^PREFIX.*$$#PREFIX=${PREFIX}#;' \
|
|
-e 's#^CC=.*$$#CC=${CC}#;' \
|
|
-e 's#^CFLAGS=-g -O2 (.*)$$#CFLAGS=${CFLAGS} \1#;' \
|
|
-e 's#^LDFLAGS=-g (.*)$$#LDFLAGS=${LDFLAGS} \1#;' \
|
|
${WRKSRC}/system.mk
|
|
|
|
.include <bsd.port.mk>
|