diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-10-28 06:29:46 +0800 |
commit | a9ff4b49c10701f4d22eb1a173e03064089672bb (patch) | |
tree | 2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /multimedia/replex | |
parent | aa3da1c84cdb0e5dfb190c16f74ea3d9def166a7 (diff) | |
download | freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.gz freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.zst freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.zip |
- use STAGEDIR
- use OPTIONS_DEFINE
Diffstat (limited to 'multimedia/replex')
-rw-r--r-- | multimedia/replex/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/multimedia/replex/Makefile b/multimedia/replex/Makefile index e1e8002b8ed4..77dee54cc318 100644 --- a/multimedia/replex/Makefile +++ b/multimedia/replex/Makefile @@ -10,15 +10,14 @@ MASTER_SITE_SUBDIR=dinoex MAINTAINER= dinoex@FreeBSD.org COMMENT= Remultiplex an MPEG2 TS into a PS for DVD -NO_STAGE= yes - USE_GMAKE= yes -MAKE_ARGS= CFLAGS="${CFLAGS}" DEFINES="${CPPFLAGS} -DO_LARGEFILE=0 -DVERSION=\\\"$(PORTVERSION)\\\"" \ - LIBS="${LDFLAGS}" - +MAKE_ARGS= CFLAGS="${CFLAGS}" DEFINES="${CPPFLAGS} -DO_LARGEFILE=0 \ + -DVERSION=\\\"$(PORTVERSION)\\\"" LIBS="${LDFLAGS}" PLIST_FILES= bin/replex -.if !defined(NOPORTDOCS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= CHANGES README TODO .endif @@ -29,12 +28,12 @@ post-patch: 's|-L. -lreplex|libreplex.a $${LIBS}|g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/replex ${PREFIX}/bin/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/replex ${STAGEDIR}${PREFIX}/bin/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}/ .endif .include <bsd.port.mk> |