diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-22 20:40:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-22 20:40:32 +0800 |
commit | 2626a10f9b6d17c2b9eb1b328b4c26680ad38e0d (patch) | |
tree | 2eef8dc8057844b13440984edd0115f961a53036 /print/teTeX | |
parent | a88ef9ad052139f2fabce8ddfcba3cf5aa6f838e (diff) | |
download | freebsd-ports-gnome-2626a10f9b6d17c2b9eb1b328b4c26680ad38e0d.tar.gz freebsd-ports-gnome-2626a10f9b6d17c2b9eb1b328b4c26680ad38e0d.tar.zst freebsd-ports-gnome-2626a10f9b6d17c2b9eb1b328b4c26680ad38e0d.zip |
Convert to new options framework ports in p* catories
Diffstat (limited to 'print/teTeX')
-rw-r--r-- | print/teTeX/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index a3387c7091fe..a6a406193802 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -18,11 +18,12 @@ RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \ ${LOCALBASE}/share/fonts/cm-super/README:${PORTSDIR}/print/cm-super \ dvips:${PORTSDIR}/print/dvipsk-tetex -OPTIONS= LETTERSIZE "Use letter size by default" off +OPTIONS_DEFINE= LETTERSIZE X11 +LETTERSIZE_DESC= Use letter size by default -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik .endif @@ -35,7 +36,7 @@ CONFLICTS= latex2e-[0-9]* tex-[0-9]* dvips-[0-9]* xdvi-[0-9]* \ tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \ tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]* -.if defined(WITH_LETTERSIZE) +.if ${PORT_OPTIONS:MLETTERSIZE} FLAVOR+= letter DEPENDS_ARGS+= WITH_LETTERSIZE=true PAPERSIZE= letter @@ -57,4 +58,4 @@ do-build: do-install: #emtpy @${DO_NADA} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |