mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
2eb9bbf5a5
- Add LICENSE - Fix compiler warnings
30 lines
644 B
Makefile
30 lines
644 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= obpager
|
|
PORTVERSION= 1.8
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Lightweight pager for netwm compatible window managers
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
|
|
|
|
USES= gmake
|
|
USE_XORG= x11 xext
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g; \
|
|
s|%%CXX%%|${CXX}|g; \
|
|
s|sed|gsed|g' ${WRKSRC}/Makefile
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|